Update git-prompt settings
This commit is contained in:
parent
aa52247f84
commit
7dff3a842c
@ -35,5 +35,5 @@ alias vboxstart='vboxmanage startvm --type=headless'
|
|||||||
|
|
||||||
# Set git prompt NOTE if too slow, see .git-prompt.sh for an alternative solution
|
# Set git prompt NOTE if too slow, see .git-prompt.sh for an alternative solution
|
||||||
[ -e ~/.git-prompt.sh ] && source ~/.git-prompt.sh
|
[ -e ~/.git-prompt.sh ] && source ~/.git-prompt.sh
|
||||||
GITPS1='$(__git_ps1 " (%s)")'
|
[ -e ~/.git-prompt.sh ] && GITPS1='$(__git_ps1 " (%s)")'
|
||||||
PS1=${PS1:0:${#PS1}-4}$GITPS1' \$ '
|
[ -e ~/.git-prompt.sh ] && PS1=${PS1:0:${#PS1}-4}$GITPS1' \$ '
|
||||||
|
Loading…
Reference in New Issue
Block a user