Merge branch 'master' of ssh://defaria.com/opt/git/clearscm
[clearscm.git] / rc / functions
index 2edcd15..39f7058 100644 (file)
@@ -59,6 +59,7 @@ function title_bar {
     string=$(echo "${SYSNAME##*:}:$@")
     echo -n "${ESC}]2;$string\007"
   elif [ "$TERM" = "cygwin" -o "$TERM" = "vt100" -o "$TERM" = "xterm" ]; then
+    # Here's where we set the prompt with root
     PS1="\[\e]0;$prefix$current_dir\a$AQUA\]$ROOT\[$YELLOW\]$SYSNAME:\[$NORMAL\]"
   fi
 } # title_bar