exa over color-ls

This commit is contained in:
Fred Klassen 2023-02-21 12:45:14 -08:00
commit bf412d1976
No known key found for this signature in database
GPG key ID: E9E2149793BDE17E
2 changed files with 10 additions and 6 deletions

View file

@ -194,13 +194,15 @@ export MANPATH="/usr/local/man:/usr/local/ssl/share/man:$MANPATH"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias gnb='git nb' # new branch aka checkout -b
alias gdtl='git difftool --no-prompt'
if [ -x "$(command -v colorls)" ]; then
alias ls="colorls"
alias la="colorls -al"
fi
if [ -x "$(command -v colorls)" ]; then
if [ -x "$(command -v exa)" ]; then
alias ls="exa"
alias la="exa --long --all --group"
else
if [ -x "$(command -v colorls)" ]; then
alias ls="colorls"
alias la="colorls -al"
fi
fi
# Other custom config