Prise en charge du nouveau screen

This commit is contained in:
Sasha MOREL 2019-08-26 14:35:56 +02:00
parent e6b9b188d4
commit c96eedf94f
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
if [ "x$SSH_CLIENT" != "x" ]; then
if [ "$TERM" != "screen" ]; then
if [ "$TERM" != "screen" -a "$TERM" != "screen.xterm-256color" ]; then
SOCK="$HOME/.zsh/ssh_auth_sock"
if [ ! -z "$SSH_AUTH_SOCK" -a "$SSH_AUTH_SOCK" != "$SOCK" ]; then
rm -f "$SOCK"