projects
/
clearscm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebf28d0
)
Fixed up setting of prompt when root.
author
adefaria
<adefaria@adefaria-lt.audience.local>
Fri, 14 Nov 2014 03:20:18 +0000
(19:20 -0800)
committer
adefaria
<adefaria@adefaria-lt.audience.local>
Fri, 14 Nov 2014 03:20:18 +0000
(19:20 -0800)
rc/functions
patch
|
blob
|
history
diff --git
a/rc/functions
b/rc/functions
index
2edcd15
..
39f7058
100644
(file)
--- 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