mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-08 01:14:01 +01:00
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"
|
||||
|
||||
# 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 < "
|
||||
|
Loading…
Reference in New Issue
Block a user