Commits

Adam Gomaa committed 7538cab

zsh: update tmux aliases

Comments (0)

Files changed (1)

     _tmux-helper neww "$@"
 }
 alias ta="tmux attach -t"
-alias tc="tmux attach -t courtside"
-alias tm="tmux attach -t main"
+alias tm="tmux attach -t 0"
+alias t0="tmux attach -t 0"
+alias t1="tmux attach -t 1"
 alias tt="tmux attach -t top"
-alias th="tmux attach -t ssh"
-alias t4="tmux attach -t 4"
-alias tf="tmux attach -t fitocracy"
-alias tf2="tmux attach -t ft2"
+alias tf0="tmux attach -t fit0"
+alias tf1="tmux attach -t fit1"
 alias tl="tmux list-sessions"
 alias T="tmux new-session -t"
 
 tmux_create_session(){
     tmux new-session -d -s $1
-    tmux set-environment -t $1 TMUX_SESSION $1
+    tmux set-environment -t $1 TMUX_SESSION $2
 }
 
 # alias old screen shortcuts to help with the muscle-memory transition
     gh='git hist' \
     g='git ' \
     gg='gf ' \
+    ggc='gf --cached ' \
     gff='git merge --ff-only ' \
     ghl='git histl' \
     gs='git status' \
 }
 
 
-alias m=mpc
-alias v=volume
+mid(){
+    tail -n +$2 $1 | head -n $3
+}
+
+
+alias w='wim'
+alias v='wim vc'
+
 alias p="wim prompt"
 alias q=p
-alias ml="mpc playlist"
 alias f="fossil"
 alias fs="fossil status"
 alias ez='python setup.py install --prefix="~/.local"'