Created
November 12, 2015 14:28
-
-
Save smalot/450c337692044610955d to your computer and use it in GitHub Desktop.
Install Git aware
This file contains 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 characters
# https://github.com/jimeh/git-aware-prompt | |
mkdir ~/.bash | |
cd ~/.bash | |
git clone git://github.com/jimeh/git-aware-prompt.git | |
# Add at the end of ".bashrc" file | |
export GITAWAREPROMPT=~/.bash/git-aware-prompt | |
source $GITAWAREPROMPT/main.sh | |
export PS1="\u@\h \w \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ " | |
export SUDO_PS1="\[$bakred\]\u@\h\[$txtrst\] \w\$ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment