aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_zsh/80-tmux.zsh13
-rw-r--r--_zsh/90-aliases.zsh2
2 files changed, 9 insertions, 6 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: #
diff --git a/_zsh/90-aliases.zsh b/_zsh/90-aliases.zsh
index 7f41bc4..1c1ec06 100644
--- a/_zsh/90-aliases.zsh
+++ b/_zsh/90-aliases.zsh
@@ -24,7 +24,7 @@ alias lsa='ls -lah'
alias grep='grep --color=auto'
-# git
+# Git
alias gita='git add'
alias gitc='git commit'
alias gitd='git diff'