feat (zshrc): create or reuse a tmux session while using ssh

This commit is contained in:
eeemsi 2023-07-29 15:32:55 +02:00
parent 048de00fe7
commit cf9971fed4

1
zshrc
View File

@ -72,6 +72,7 @@ alias l='ls -F -h'
alias la='ls -F -h -A' alias la='ls -F -h -A'
alias mv='mv -v' alias mv='mv -v'
alias view='vim -R' alias view='vim -R'
alias tmux-ssh="ssh -t -o RemoteCommand='tmux attach-session -d || tmux new-session'"
# Comfortable git aliases # Comfortable git aliases
alias g='git' alias g='git'