mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-24 17:00:32 +02:00
20953: "du --version" tries to display size of files in current directory on FreeBSD and Darwin.
This commit is contained in:
parent
1f9166d4e1
commit
0c3de591d3
2 changed files with 6 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#compdef du
|
||||
|
||||
if _pick_variant gnu=Free\ Soft unix --version; then
|
||||
if _pick_variant gnu=Free\ Soft unix --version /dummy/no-such-file; then
|
||||
_arguments -s \
|
||||
'(-a --all -s --summarize)'{-a,--all}'[write counts for all files]' \
|
||||
'--apparent-size[print apparent sizes rather than disc usage]' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue