git://git.iain.cx/iain
/
profile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Highlight unwanted whitespace.
[profile.git]
/
opt
/
bin
/
sshterm
diff --git
a/opt/bin/sshterm
b/opt/bin/sshterm
index
eb209e6
..
6f6bb14
100755
(executable)
--- a/
opt/bin/sshterm
+++ b/
opt/bin/sshterm
@@
-1,8
+1,7
@@
#!/bin/bash
#!/bin/bash
-cd
/
+cd
~
if [ "$SSHTERM" = "urxvtc" ]; then
setlock -nx ${RXVT_SOCKET:-$HOME/rxvt-unicode-$HOSTNAME}.lock urxvtd -q -o -f &
fi
if [ "$SSHTERM" = "urxvtc" ]; then
setlock -nx ${RXVT_SOCKET:-$HOME/rxvt-unicode-$HOSTNAME}.lock urxvtd -q -o -f &
fi
-${SSHTERM:-xterm} ${SSHTERM_TITLE:--title} "$1" ${SSHTERM_EXEC:--e} \
sshcolourterm ${1+"$@"} &
disown
sshcolourterm ${1+"$@"} &
disown