1
0
forked from extern/nix-config

fish: Ignore lost+found with exa

This makes browsing the root of ext4 partitions nicer.
This commit is contained in:
Donovan Glover 2022-04-09 09:43:52 -04:00
parent dc483d0f30
commit 9674210774
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -32,8 +32,8 @@ set -x -U LESS_TERMCAP_us (printf "\e[01;32m")
fish_default_key_bindings
# Use exa as a drop-in replacement for ls and tree (faster, more colors, etc.)
alias ls="exa --group-directories-first"
alias tree="exa --group-directories-first --long --tree -I 'node_modules|.git|public'"
alias ls="exa --group-directories-first -I 'lost+found'"
alias tree="exa --group-directories-first --long --tree -I 'node_modules|.git|public|lost+found'"
# Abbreviations are aliases that expand
if not set -q set_abbr