mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-12 13:21:15 +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,3 +1,8 @@
|
||||||
|
2005-03-09 Motoi Washida <a66@h8.dion.ne.jp>
|
||||||
|
|
||||||
|
* 20953: Completion/Unix/Command/_du: "du --version" tries to
|
||||||
|
display size of files in current directory on FreeBSD and Darwin.
|
||||||
|
|
||||||
2005-03-09 Clint Adams <clint@zsh.org>
|
2005-03-09 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
* 20951: Completion/Unix/Command/_baz: fix version detection
|
* 20951: Completion/Unix/Command/_baz: fix version detection
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#compdef du
|
#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 \
|
_arguments -s \
|
||||||
'(-a --all -s --summarize)'{-a,--all}'[write counts for all files]' \
|
'(-a --all -s --summarize)'{-a,--all}'[write counts for all files]' \
|
||||||
'--apparent-size[print apparent sizes rather than disc usage]' \
|
'--apparent-size[print apparent sizes rather than disc usage]' \
|
||||||
|
|
Loading…
Reference in a new issue