Correctif autoscreen sur shell pas de login
This commit is contained in:
@@ -6,6 +6,10 @@ if [ "x$SSH_CLIENT" != "x" ]; then
|
||||
ln -sf "$SSH_AUTH_SOCK" "$SOCK"
|
||||
export SSH_AUTH_SOCK="$SOCK"
|
||||
fi
|
||||
if [ x"$0" = x"-zsh" ];then
|
||||
screen -xR && logout
|
||||
else
|
||||
exec screen -xR
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user