fix tmux
This commit is contained in:
parent
4107446a1c
commit
8fbc4c98a9
@ -7,6 +7,9 @@ if \
|
|||||||
[ -z "${TMUX}" ] && \
|
[ -z "${TMUX}" ] && \
|
||||||
tmux -N -L "${USER}" list-sessions &>/dev/null
|
tmux -N -L "${USER}" list-sessions &>/dev/null
|
||||||
then
|
then
|
||||||
|
if [ -n "${SSH_CLIENT}" ]; then
|
||||||
|
exec tmux -N -L "${USER}" new-session
|
||||||
|
fi
|
||||||
exec tmux -N -L "${USER}" new-session -A
|
exec tmux -N -L "${USER}" new-session -A
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user