Skip to content

Instantly share code, notes, and snippets.

@pmanijak
Last active December 20, 2015 08:39
Show Gist options
  • Select an option

  • Save pmanijak/6102533 to your computer and use it in GitHub Desktop.

Select an option

Save pmanijak/6102533 to your computer and use it in GitHub Desktop.
git prompt setup
# Instructions: https://github.com/jimeh/git-aware-prompt
# Also see: http://www.ibm.com/developerworks/linux/library/l-tip-prompt/
export GITAWAREPROMPT=~/.bash/git-aware-prompt
source $GITAWAREPROMPT/main.sh
export PS1="\e\[$txtcyn\]......\n\[$txtcyn\]\w \[$txtrst\]\$git_branch\$git_dirty \[$bldcyn\]> \[$txtrst\]"
# Instructions: https://github.com/jimeh/git-aware-prompt
# Also see: http://www.ibm.com/developerworks/linux/library/l-tip-prompt/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment