.profile: Give tree more love

This commit is contained in:
Salt 2020-06-01 05:58:57 -05:00
parent fde9c349cd
commit 2ba1c2fe1a

View File

@ -247,7 +247,13 @@ if has sudo; then
esac
fi
if has tree; then
alias tree='tree -qF --dirsfirst'
treeargs='-qF --dirsfirst'
alias tree="tree $treeargs"
alias t="tree $treeargs -L 2"
alias tl="tree $treeargs -pughL 2"
alias tp="tree $treeargs -pL 2"
alias ts="tree $treeargs -hL 2"
unset treeargs
fi
# Dotfile management aliases