From 1a8b08cecb917494aa340ce6b28119874c636e0a Mon Sep 17 00:00:00 2001 From: Ray Shan Date: Sat, 8 Mar 2014 12:02:49 -0800 Subject: [PATCH] using full tmux command arg names; added tmuxr for rename --- modules/tmux/init.zsh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/tmux/init.zsh b/modules/tmux/init.zsh index 3c099c8f..c3a681c3 100644 --- a/modules/tmux/init.zsh +++ b/modules/tmux/init.zsh @@ -47,7 +47,8 @@ fi # Aliases # -alias tmuxn='tmux new -s' # provide session name, or just use tmux straigt up for unnamed -alias tmuxa='tmux a' # [-t name] to attach to specific named session -alias tmuxl='tmux ls' -alias tmuxk='tmux kill-session -t' # provide session name +alias tmuxn='tmux new-session -s' # [name] create new named session; if don't need name just use 'tmux' +alias tmuxa='tmux attach-session' # optionally [-t] [name] to attach to specific session +alias tmuxl='tmux list-sessions' +alias tmuxr='tmux rename-session -t' # [name] [new name] +alias tmuxk='tmux kill-session -t'