Last active
March 8, 2019 07:14
-
-
Save shiopon01/04f00abf5eb9564c3d178e6cc221136c to your computer and use it in GitHub Desktop.
branch表示リロードされないかも
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
## 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