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