diff --git a/.profile b/.profile index b92970c0..f15348f1 100755 --- a/.profile +++ b/.profile @@ -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