git://git.iain.cx/iain
/
profile.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4c9fdb1f01b559275c1d19f670f5a74f51633ee5
[profile.git]
/
sshterm
1
#!/bin/bash
2
cd /
3
if [ "$SSHTERM" = "urxvtc" ]; then
4
setlock -nx ${RXVT_SOCKET:-$HOME/rxvt-unicode-$HOSTNAME}.lock urxvtd -q -o -f &
5
fi
6
sshcolourterm ${1+"$@"} &
7
disown