From 9e680ae06a17997090bbaf81c9e4828733999c89 Mon Sep 17 00:00:00 2001 From: Sebastian Tramp Date: Fri, 14 Jun 2013 01:37:08 +0200 Subject: [PATCH] add project name to prompt --- prompt.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/prompt.zsh b/prompt.zsh index b639686..591fca3 100644 --- a/prompt.zsh +++ b/prompt.zsh @@ -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