when exa is not installed, don't prevent use of ls

main
earnest ma 2022-02-27 22:13:07 -05:00
parent ea30a3649d
commit 9129c98d1b
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
1 changed files with 7 additions and 3 deletions

View File

@ -31,9 +31,13 @@ ffe() {
${EDITOR:-nvim} "$fname"
}
if [ -x "$(command -v "exa")" ]; then
alias ls='exa' # -ag
alias la='exa -l'
alias ll='exa -lahg'
else
echo "exa not installed"
fi
alias pu='git push'
alias st='git st'