Created
May 23, 2018 20:40
-
-
Save ranjitiyer/4fdfaa1ec3a6a4c6cc969218be902da9 to your computer and use it in GitHub Desktop.
Revisions
-
ranjitiyer created this gist
May 23, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ export PS1="\@ \w $(if [[ -e .gitignore ]]; then git branch | head -n 1 | awk '{print $2}'; fi) > " Prints time in am/pm, the current working directory and the checked out gitbranch if pwd is a git repo 01:39 PM ~/work/emr/sparkmagic jupyter >