Update tree aliases

Ignoring the .git directory lets us view dotfiles in the tree view
without having to worry about git's hidden directory.
This commit is contained in:
Donovan Glover 2018-09-10 17:15:34 -04:00
parent 571ed6ff19
commit 05196514f9
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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 < "