Merge remote-tracking branch 'origin/master'

This commit is contained in:
Daniel Flanagan 2022-07-01 09:47:41 -05:00
commit d80998902e
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -2,8 +2,12 @@ function has_command --wraps=command --description "Exits non-zero if the given
command --quiet --search $argv[1] command --quiet --search $argv[1]
end end
alias ll 'ls -l'
alias la 'll --all'
alias lA 'la --all'
if has_command exa if has_command exa
alias ls 'exa --group-directories-first' alias ls 'exa --group-directories-first --classify'
alias l ls alias l ls
alias tree 'ls --tree --level=3' alias tree 'ls --tree --level=3'
alias lt 'll --sort=modified' alias lt 'll --sort=modified'
@ -11,12 +15,9 @@ if has_command exa
alias lc 'lt --sort=accessed' alias lc 'lt --sort=accessed'
alias lT 'lt --reverse' alias lT 'lt --reverse'
alias lC 'lc --reverse' alias lC 'lc --reverse'
alias lD 'la --only-dirs'
end end
alias lA 'ls --all'
alias ll 'ls -l'
alias la 'll --all'
function scount --wraps=count --description "Silent count exits with a non-zero status if no arguments given to count" function scount --wraps=count --description "Silent count exits with a non-zero status if no arguments given to count"
count $argv > /dev/null count $argv > /dev/null
end end