diff options
| -rw-r--r-- | .config/fish/conf.d/alias.fish | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.config/fish/conf.d/alias.fish b/.config/fish/conf.d/alias.fish index 64bac90..b1383a2 100644 --- a/.config/fish/conf.d/alias.fish +++ b/.config/fish/conf.d/alias.fish | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | # ls & alternatives | 1 | # ls & alternatives |
| 2 | if type -q eza | 2 | if type -q eza |
| 3 | alias ls "eza --long --almost-all --binary --smart-group --group-directories-first --git --git-repos --color=auto --icons=never" | 3 | function ls --wraps eza |
| 4 | alias lss "ls --total-size" | 4 | eza --long --almost-all --binary --smart-group --group-directories-first --git --git-repos --color=auto --icons=never |
| 5 | end | ||
| 6 | |||
| 7 | function lss --wraps eza --description "ls with total dir size" | ||
| 8 | ls --total-size | ||
| 9 | end | ||
| 5 | end | 10 | end |
| 11 | |||
