Skip to content

Instantly share code, notes, and snippets.

@shoya140
Created May 31, 2013 05:19
Show Gist options
  • Save shoya140/5683052 to your computer and use it in GitHub Desktop.
Save shoya140/5683052 to your computer and use it in GitHub Desktop.
#git
source ~/git-prompt.sh
source ~/git-completion.bash
GIT_PS1_SHOWDIRTYSTATE=true
export PS1='\[\033[32m\]\u@\h\[\033[00m\]$(__git_ps1)\[\033[00m\]\$ '
@shoya140
Copy link
Author

shoya140 commented Nov 2, 2013

gitのブランチ名がterminalに表示される

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment