X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Ffunctions;h=39f705839fc1fb22101e26683b029a06e5a3b2fd;hb=f4cba91d9cce314c632afe2e05987670c0d1813e;hp=2edcd152591c57ccbe00bdfdd4872726b9fd38e6;hpb=a6b9fdd0c7cee150fe036d3ae8d121b19a2cab1e;p=clearscm.git diff --git a/rc/functions b/rc/functions index 2edcd15..39f7058 100644 --- a/rc/functions +++ b/rc/functions @@ -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