config cleanup, add tmux aliases only when tmux is present
This commit is contained in:
parent
4a31a22206
commit
da90e27633
5 changed files with 4 additions and 195 deletions
6
bashrc
6
bashrc
|
@ -139,8 +139,10 @@ alias gup='command git pull'
|
|||
alias gsi='command tig status'
|
||||
|
||||
# tmux
|
||||
alias tmux='command tmux -2'
|
||||
alias atmux='command tmux -2 attach'
|
||||
if is_exec tmux; then
|
||||
alias tmux='command tmux -2'
|
||||
alias atmux='command tmux -2 attach'
|
||||
fi
|
||||
|
||||
# screen
|
||||
alias rscreen='command screen -Dr'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue