summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5d48cf5)
Avoid detecting and executing `~/bin/screen`.
# Stop if non-interactive shell
[ -z "$PS1" ] && return
# Stop if non-interactive shell
[ -z "$PS1" ] && return
-if [ -n "$SSH_CONNECTION" -a -z "$STY" -a -t 0 ] &&
- which screen >/dev/null 2>&1
+if [ -n "$SSH_CONNECTION" -a -z "$STY" -a -t 0 -a -x /usr/bin/screen ]
- exec screen -xRR -S default
+ exec /usr/bin/screen -xRR -S default