From 2ba1c2fe1aecf90b10ea9c5896d3803f9c9fe523 Mon Sep 17 00:00:00 2001 From: Salt Date: Mon, 1 Jun 2020 05:58:57 -0500 Subject: [PATCH] .profile: Give tree more love --- .profile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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