projects
/
clearscm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merged work on rexec
[clearscm.git]
/
rc
/
functions
diff --git
a/rc/functions
b/rc/functions
index
1f1636d
..
69f8aa1
100644
(file)
--- a/
rc/functions
+++ b/
rc/functions
@@
-39,8
+39,8
@@
function title_bar {
fi
# Add GIT info if available
fi
# Add GIT info if available
- if
[ -d .git ]
; then
- current_dir="
git: $(git branch | sed -n -e 's/^\* \(.*\)/\1/p') $current_dir
"
+ if
in_git_repo
; then
+ current_dir="
$current_dir [git: $(git branch | sed -n -e 's/^\* \(.*\)/\1/p')]
"
fi
if [ "$TERM" = "hpterm" -o \
fi
if [ "$TERM" = "hpterm" -o \
@@
-189,7
+189,7
@@
function ssh {
} # ssh
function sj {
} # ssh
function sj {
- if [ $ARCH = "FreeBSD" ]; then
+ if [ $ARCH
ITECTURE
= "FreeBSD" ]; then
psopts="-aux"
else
psopts="-ef"
psopts="-aux"
else
psopts="-ef"