feat (zshrc): create or reuse a tmux session while using ssh
This commit is contained in:
parent
048de00fe7
commit
cf9971fed4
1
zshrc
1
zshrc
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user