diff options
author | Aaron LI <aly@aaronly.me> | 2017-09-04 15:48:10 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-09-04 15:48:10 +0800 |
commit | e70d42cc6cc549e08d653811d35847e2f7a89376 (patch) | |
tree | 43d7731f9bbfa9f1694c31c38fad90bc1021352e /_zsh/80-tmux.zsh | |
parent | 7ac78a1d95a55da50cd0efa956a8329c6ed6a50f (diff) | |
download | dotfiles-e70d42cc6cc549e08d653811d35847e2f7a89376.tar.bz2 |
zsh: Update tmux aliases
Diffstat (limited to '_zsh/80-tmux.zsh')
-rw-r--r-- | _zsh/80-tmux.zsh | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/_zsh/80-tmux.zsh b/_zsh/80-tmux.zsh index ae0f1c5..9a4ad9c 100644 --- a/_zsh/80-tmux.zsh +++ b/_zsh/80-tmux.zsh @@ -24,11 +24,14 @@ if exists percol; then fi -alias ta='tmux attach -t' -alias tl='tmux list-sessions' -alias ts='tmux new-session -s' -alias tkss='tmux kill-session -t' -alias tksv='tmux kill-server' +# Handy aliases +if exists tmattach; then + alias tma=tmattach +else + alias tma='tmux attach -t' +fi +alias tml='tmux list-sessions' +alias tms='tmux new-session -s' # vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: # |