From 33eac53475fa0ec27f19c4d8f2e191345464e673 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Sun, 24 Feb 2019 12:46:27 +0100 Subject: [PATCH] Add bash aliases for `tree` Same reasoning as the previous commit for `ls`. --- dotfiles/.bashrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc index 16e66ba..1f0bbf3 100644 --- a/dotfiles/.bashrc +++ b/dotfiles/.bashrc @@ -100,11 +100,20 @@ bashrc_customize_aliases() { alias llc="lsc -l" alias lla="ls -la" alias llac="lsc -la" + alias grep="grep --color=auto"; alias egrep="egrep --color=auto"; alias fgrep="fgrep --color=auto"; alias path='echo $PATH | tr -s ":" "\n"' alias mpath='echo $MANPATH | tr -s ":" "\n"' + + alias tree="tree -F --dirsfirst" + alias tra="tree -a" + alias trl="tree -ugsh" # like ls -l (prints owner, group, human size) + alias trla="trl -a" + alias trac="tra -C" + alias trlc="trl -C" + alias trlac="trla -C" } bashrc_send_term_osc() {