3 ms·
I do something similar. Instead of passing the tmux attach command to ssh, I attach (or create) a tmux session if the shell is a) a login shell and b) started i
by martinp 13y ago
I do something similar. Instead of passing the tmux attach command to ssh, I attach (or create) a tmux session if the shell is a) a login shell and b) started in a SSH session. [0]
[0] https://github.com/martinp/dotfiles/blob/master/dot.zlogin https://github.com/martinp/dotfiles/blob/master/dot.zlogin