Skip to content

Instantly share code, notes, and snippets.

@shiopon01
Last active March 8, 2019 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shiopon01/04f00abf5eb9564c3d178e6cc221136c to your computer and use it in GitHub Desktop.
Save shiopon01/04f00abf5eb9564c3d178e6cc221136c to your computer and use it in GitHub Desktop.
branch表示リロードされないかも
## Git-Prompt
if [ -f $HOME/rc/git-completion.bash ] && [ -f $HOME/rc/git-prompt.sh ]; then
source $HOME/rc/bash/git-completion.bash
source $HOME/rc/bash/git-prompt.sh
GIT_PS1_SHOWDIRTYSTATE=true
GIT_PS1_SHOWUNTRACKEDFILES=true
GIT_PS1_SHOWSTASHSTATE=true
GIT_PS1_SHOWUPSTREAM=auto
fi
export PS1="\n\t \u@\h \[\e[1;32m\]\w\[\e[1;31m\]$(__git_ps1)\[\e[00m\] \n$ "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment