#
# Source the git bash completion file
if [ -f ~/.git-completion.bash ]; then
source ~/.git-completion.bash
GIT_PS1_SHOWDIRTYSTATE=true
PS1='[\u@\h:\W $(__git_ps1 "(%s)")]$ '
fi
contrib / completion / git-completion.bash
# Source the git bash completion file
if [ -f ~/.git-completion.bash ]; then
source ~/.git-completion.bash
GIT_PS1_SHOWDIRTYSTATE=true
PS1='[\u@\h:\W $(__git_ps1 "(%s)")]$ '
fi
posted @ 2012-04-04 09:26 貝貝爸爸 閱讀(849) | 評論 (0) | 編輯 收藏