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