From 05196514f99b2ccca0ee67c9821d93d9c4fd668e Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 10 Sep 2018 17:15:34 -0400 Subject: [PATCH] Update tree aliases Ignoring the .git directory lets us view dotfiles in the tree view without having to worry about git's hidden directory. --- dots/common/.aliases.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dots/common/.aliases.sh b/dots/common/.aliases.sh index 0084032..e275c2d 100644 --- a/dots/common/.aliases.sh +++ b/dots/common/.aliases.sh @@ -57,11 +57,12 @@ alias dog="pygmentize -g" alias todo="rg TODO" # Use exa as a drop-in replacement for "tree" (faster, more colors, etc.) -alias tree="exa --long --tree -I 'node_modules|lib'" +alias tree="exa --long --tree -I 'node_modules|lib|.git'" alias t="tree -L 1" alias t2="tree -L 2" alias t3="tree -L 3" alias te="tree" +alias ta="tree -a" # Easily copy the contents of any file alias copy="xclip -sel clip < "