fixed tmux alias, so tmux command isn't lost
This commit is contained in:
parent
8ccb918b47
commit
251f7b2cfd
9
.alias
9
.alias
@ -15,7 +15,14 @@
|
|||||||
|
|
||||||
|
|
||||||
alias vi="vim" #Insure vim
|
alias vi="vim" #Insure vim
|
||||||
alias tmux='tmux attach || tmux'
|
tmux_alias() {
|
||||||
|
if [[ $# -eq 0 ]]; then
|
||||||
|
tmux attach
|
||||||
|
else
|
||||||
|
tmux "$@"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
alias tmux=tmux_alias
|
||||||
#Coloration of core utils
|
#Coloration of core utils
|
||||||
alias grep="grep -n --color=auto" #grep
|
alias grep="grep -n --color=auto" #grep
|
||||||
alias egrep='egrep --color=auto'
|
alias egrep='egrep --color=auto'
|
||||||
|
Loading…
Reference in New Issue
Block a user