Enable an lA alias to show . and .. directories #6

Merged
lytedev merged 2 commits from lytedev-divvy/dotfiles:master into master 2022-06-24 23:07:17 -05:00
1 changed files with 6 additions and 5 deletions

View File

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