cargo update: update dependencies (#341)

This commit is contained in:
andy.boot
2023-11-06 23:21:13 +00:00
committed by GitHub
parent 211d89e634
commit 2fa14ca19c
3 changed files with 169 additions and 266 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ _dust() {
'(-F --only-file -t --file_types)--only-dir[Only directories will be displayed.]' \
'(-D --only-dir)-F[Only files will be displayed. (Finds your largest files)]' \
'(-D --only-dir)--only-file[Only files will be displayed. (Finds your largest files)]' \
'*:inputs:_files' \
'*::inputs:' \
&& ret=0
}
+1 -4
View File
@@ -20,12 +20,9 @@ _dust() {
case "${cmd}" in
dust)
opts="-h -V -d -n -p -X -L -x -s -r -c -b -z -R -f -i -v -e -t -w -H -P -D -F --help --version --depth --number-of-lines --full-paths --ignore-directory --dereference-links --limit-filesystem --apparent-size --reverse --no-colors --no-percent-bars --min-size --screen-reader --skip-total --filecount --ignore_hidden --invert-filter --filter --file_types --terminal_width --si --no-progress --only-dir --only-file <inputs>..."
if [[ ${cur} == -* ]] ; then
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
elif [[ ${cur} == * ]] ; then
_filedir
return 0
fi
case "${prev}" in
--depth)