Browse Source

zshrc remote tmux test

master
Matthias Puchstein 2 years ago
parent
commit
954f618ddf
  1. 6
      zsh/runcoms/zshrc

6
zsh/runcoms/zshrc

@ -57,7 +57,11 @@ bindkey -M viins . insert-last-word
#autostart tmux if remote session
if [[ -n $SSH_CONNECTION ]]; then
tmux
if [[ -n $TMUX]]; then
tmux a
else
tmux
fi
else
echo "YOU ARE HOME"
fi

Loading…
Cancel
Save