mirror of https://github.com/nirenjan/dotfiles.git
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.master
parent
cdfe4b49cc
commit
89a016625d
|
@ -7,10 +7,10 @@ alias tgp='time git pull'
|
||||||
alias gf='git fetch'
|
alias gf='git fetch'
|
||||||
|
|
||||||
# Tmux aliases
|
# 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
|
# Attach to an existing tmux session
|
||||||
alias work='TERM=screen-256color-bce tmux -2 -u attach -d'
|
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
|
# Trigger tmux to reopen the socket if it cannot attach
|
||||||
alias kick='pkill -USR1 -u $USER tmux'
|
alias kick='pkill -USR1 -u $USER tmux'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue