From 228b93ad136f1ae23087720f6fa33f2baacaf41e Mon Sep 17 00:00:00 2001 From: nirenjan Date: Thu, 26 Feb 2015 17:47:37 -0800 Subject: [PATCH] Move tmux aliases into shared config Instead of spending all my time trying to configure the terminal and shell, I added these aliases here, so they get propagated to all systems. --- bash/bashrc.aliases | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bash/bashrc.aliases b/bash/bashrc.aliases index 2bd1570..b3a0af6 100644 --- a/bash/bashrc.aliases +++ b/bash/bashrc.aliases @@ -2,13 +2,13 @@ alias ll='ls -l' # Git aliases -alias g='git' alias tgp='time git pull' alias gf='git fetch' -# Tmux alias -# Use this to launch in 256-color mode -alias tmux='TERM=screen-256color tmux -2 -u' - -# Vim alias -alias v='vim' +# Tmux aliases +# Use this to launch in 16-color mode +alias tmux='TERM=xterm-16color tmux -2 -u' +# Attach to an existing tmux session +alias work='TERM=xterm-16color tmux -2 -u attach -d' +# Trigger tmux to reopen the socket if it cannot attach +alias kick='pkill -USR1 -u $USER tmux'