add project name to prompt
This commit is contained in:
parent
251aab0218
commit
9e680ae06a
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,10 @@ function promptSetup () {
|
|||
VCS_LINE+=$VCS_CHANGES
|
||||
fi
|
||||
|
||||
if [[ $VCS_PROJECTNAME != "" ]]; then
|
||||
VCS_LINE+=" ($VCS_PROJECTNAME)"
|
||||
fi
|
||||
|
||||
# rootshell gets another prompt sign
|
||||
CURRENT_USER=`whoami`
|
||||
PR_SIGN=$NOCOLOR
|
||||
|
|
Loading…
Reference in a new issue