add project name to prompt

This commit is contained in:
Sebastian Tramp 2013-06-14 01:37:08 +02:00
parent 251aab0218
commit 9e680ae06a
No known key found for this signature in database
GPG key ID: E8093B579D601B44

View file

@ -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