Update cls to work correctly in Windows Terminal
This commit is contained in:
parent
6d92a82d8c
commit
01fcdc1863
6
zshrc
6
zshrc
@ -186,9 +186,11 @@ alias weather="curl wttr.in"
|
||||
|
||||
case `uname` in
|
||||
Linux)
|
||||
[ "$TMUX" = "" ] && \
|
||||
alias cls="printf '\ec'" || \
|
||||
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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user