From 89a016625d559489f0696292ed8222477a34e53f Mon Sep 17 00:00:00 2001 From: nirenjan Date: Mon, 3 Oct 2016 12:12:47 -0700 Subject: [PATCH] Move tmux alias after work alias The old order was causing tmux to be called with the TERM environment variable twice, along with the -2 -u arguments being repeated. --- bash/bashrc.d/aliases.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash/bashrc.d/aliases.bash b/bash/bashrc.d/aliases.bash index 4bc3c1d..57f2f00 100644 --- a/bash/bashrc.d/aliases.bash +++ b/bash/bashrc.d/aliases.bash @@ -7,10 +7,10 @@ alias tgp='time git pull' alias gf='git fetch' # Tmux aliases -# Use this to launch in 256-color mode -alias tmux='TERM=screen-256color-bce tmux -2 -u' # Attach to an existing tmux session alias work='TERM=screen-256color-bce tmux -2 -u attach -d' +# Use this to launch in 256-color mode +alias tmux='TERM=screen-256color-bce tmux -2 -u' # Trigger tmux to reopen the socket if it cannot attach alias kick='pkill -USR1 -u $USER tmux'