projects
/
clearscm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rsync Mikey & Kent
[clearscm.git]
/
rc
/
functions
diff --git
a/rc/functions
b/rc/functions
index
1f8dcdc
..
48c823d
100644
(file)
--- a/
rc/functions
+++ b/
rc/functions
@@
-15,6
+15,8
@@
ESC=$(echo "\033")
CR=$(echo "\015")
ESC=$(echo "\033")
CR=$(echo "\015")
+export WIZARD="Wizard"
+
view_name=
# Function to set the title bar. Works on the terminal emulators listed.
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
# 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
else
root=
fi
@@
-119,19
+121,21
@@
function set_prompt {
"$TERM" = "2392A" -o \
"$TERM" = "dtterm" -o \
"$TERM" = "vt100" -o \
"$TERM" = "2392A" -o \
"$TERM" = "dtterm" -o \
"$TERM" = "vt100" -o \
+ "$TERM" = "cygwin" -o \
"$TERM" = "xterm" -o \
"$TERM" = "xtermc" -o \
"$TERM" = "xterm-256color" -o \
"$TERM" = "vt220" ]; then
"$TERM" = "xterm" -o \
"$TERM" = "xtermc" -o \
"$TERM" = "xterm-256color" -o \
"$TERM" = "vt220" ]; then
- ROOT="\[${ROOT_COLOR}\]
Wizard
\[$NORMAL\] "
+ ROOT="\[${ROOT_COLOR}\]
$WIZARD
\[$NORMAL\] "
else
else
- ROOT="
Wizard
"
+ ROOT="
$WIZARD
"
fi
else
ROOT=""
fi
if [ "$TERM" = "vt100" -o \
fi
else
ROOT=""
fi
if [ "$TERM" = "vt100" -o \
+ "$TERM" = "cygwin" -o \
"$TERM" = "xterm" -o \
"$TERM" = "xtermc" -o \
"$TERM" = "xterm-256color" -o \
"$TERM" = "xterm" -o \
"$TERM" = "xtermc" -o \
"$TERM" = "xterm-256color" -o \
@@
-224,7
+228,7
@@
function sj {
ps $psopts | $PAGER
else
for str; do
ps $psopts | $PAGER
else
for str; do
- ps $psopts | grep "$str" | grep -v
"grep $str" | grep -v "grep -d skip
"
+ ps $psopts | grep "$str" | grep -v
e "grep $str" -e "grep -d skip" -e "grep --color=auto
"
done
fi
} # sj
done
fi
} # sj