dotfiles/.zsh.d/37-alias-ssh-tmux-attaching

5 lines
No EOL
114 B
Text

# automatically use tmux whenever we ssh to a server
function ssht(){
ssh $* -t 'tmux a || tmux || /bin/bash'
}