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

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