mirror of https://github.com/nirenjan/dotfiles.git
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.master
parent
57a8dba6ba
commit
228b93ad13
|
@ -2,13 +2,13 @@
|
||||||
alias ll='ls -l'
|
alias ll='ls -l'
|
||||||
|
|
||||||
# Git aliases
|
# Git aliases
|
||||||
alias g='git'
|
|
||||||
alias tgp='time git pull'
|
alias tgp='time git pull'
|
||||||
alias gf='git fetch'
|
alias gf='git fetch'
|
||||||
|
|
||||||
# Tmux alias
|
# Tmux aliases
|
||||||
# Use this to launch in 256-color mode
|
# Use this to launch in 16-color mode
|
||||||
alias tmux='TERM=screen-256color tmux -2 -u'
|
alias tmux='TERM=xterm-16color tmux -2 -u'
|
||||||
|
# Attach to an existing tmux session
|
||||||
# Vim alias
|
alias work='TERM=xterm-16color tmux -2 -u attach -d'
|
||||||
alias v='vim'
|
# Trigger tmux to reopen the socket if it cannot attach
|
||||||
|
alias kick='pkill -USR1 -u $USER tmux'
|
||||||
|
|
Loading…
Reference in New Issue