add project name to prompt

master
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
1 changed files with 4 additions and 0 deletions

View File

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