forked from extern/nix-config
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:
parent
571ed6ff19
commit
05196514f9
@ -57,11 +57,12 @@ alias dog="pygmentize -g"
|
|||||||
alias todo="rg TODO"
|
alias todo="rg TODO"
|
||||||
|
|
||||||
# Use exa as a drop-in replacement for "tree" (faster, more colors, etc.)
|
# 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 t="tree -L 1"
|
||||||
alias t2="tree -L 2"
|
alias t2="tree -L 2"
|
||||||
alias t3="tree -L 3"
|
alias t3="tree -L 3"
|
||||||
alias te="tree"
|
alias te="tree"
|
||||||
|
alias ta="tree -a"
|
||||||
|
|
||||||
# Easily copy the contents of any file
|
# Easily copy the contents of any file
|
||||||
alias copy="xclip -sel clip < "
|
alias copy="xclip -sel clip < "
|
||||||
|
Loading…
Reference in New Issue
Block a user