Fix cls alias when in tmux on iTerm2
This commit is contained in:
parent
a67649e844
commit
6be7ac0e4e
7
zshrc
7
zshrc
@ -187,14 +187,10 @@ which cmake &> /dev/null && \
|
||||
which ssh &> /dev/null && \
|
||||
alias ssh='TERM=xterm-256color ssh'
|
||||
alias weather="curl wttr.in"
|
||||
alias cls="clear && printf '\e[3J'"
|
||||
|
||||
case `uname` in
|
||||
Linux)
|
||||
if [ "$TMUX" = "" ] || [ -d /mnt/c ]; then
|
||||
alias cls="clear && printf '\e[3J'"
|
||||
else
|
||||
alias cls="printf '\ec'"
|
||||
fi
|
||||
alias ls='ls -F --color=auto'
|
||||
if which cgdb &> /dev/null; then
|
||||
alias debug='cgdb --args'
|
||||
@ -203,7 +199,6 @@ case `uname` in
|
||||
fi
|
||||
;;
|
||||
Darwin)
|
||||
alias cls="clear && printf '\e[3J'"
|
||||
alias ls='ls -GFh'
|
||||
which lldb &> /dev/null && \
|
||||
alias debug='lldb --'
|
||||
|
Loading…
x
Reference in New Issue
Block a user