X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Ffunctions;h=48c823d511b1c874e431bfcd3444fe420412b36a;hb=817f8d67391207243525ac5911c18145af8713ce;hp=28135c712c0a05dc0806b36886fab4b69a9049a8;hpb=776de2306f0b735deff2d7049237d88dfad31fd7;p=clearscm.git diff --git a/rc/functions b/rc/functions index 28135c7..48c823d 100644 --- a/rc/functions +++ b/rc/functions @@ -15,6 +15,8 @@ ESC=$(echo "\033") CR=$(echo "\015") +export WIZARD="Wizard" + view_name= # Function to set the title bar. Works on the terminal emulators listed. @@ -90,7 +92,7 @@ function title { # view and a string to indicate that you are root. function set_title { if [ $($id -u) -eq 0 ]; then - root="Wizard " + root="$WIZARD " else root= fi @@ -124,9 +126,9 @@ function set_prompt { "$TERM" = "xtermc" -o \ "$TERM" = "xterm-256color" -o \ "$TERM" = "vt220" ]; then - ROOT="\[${ROOT_COLOR}\]Wizard\[$NORMAL\] " + ROOT="\[${ROOT_COLOR}\]$WIZARD\[$NORMAL\] " else - ROOT="Wizard " + ROOT="$WIZARD " fi else ROOT=""