zprofile checks
This commit is contained in:
parent
6787c56f33
commit
e3494dcc74
@ -9,7 +9,7 @@ elif [[ "$TTY" = "/dev/tty2" ]] && command -v tmux &>/dev/null && [[ ! "$TERM" =
|
||||
exec tmux new-session -s "$(basename $TTY)" -A
|
||||
fi
|
||||
|
||||
if [[ -n "$SSH_CLIENT" ]] && [[ ! "$TERM" =~ tmux ]] && [[ -z "$TMUX" ]]; then
|
||||
if [[ -n "$SSH_CLIENT" ]] && command -v tmux &>/dev/null && [[ ! "$TERM" =~ tmux ]] && [[ -z "$TMUX" ]]; then
|
||||
export SSH_CLIENT
|
||||
exec tmux new-session -s ssh -A
|
||||
fi
|
||||
Loading…
x
Reference in New Issue
Block a user