From b591b110069e466d5a67ac540d8d76986044653b Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sat, 23 May 2015 20:36:54 -0400 Subject: Add tmux shortcut functions --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index 551033da..534e1032 100644 --- a/.zshrc +++ b/.zshrc @@ -72,6 +72,9 @@ osx && alias rm='rm -v' osx || alias gvim='gvim 2> /dev/null' osx && alias gvim=mvim +tn() { [ -n "$1" ] && tmux new -s "$1" || tmux new } +ta() { [ -n "$1" ] && tmux attach -t "$1" || tmux attach } + alias g=git alias ga='git add' alias gb='git branch' -- cgit 1.4.1