about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorMotoi WASHIDA <wm3@users.sourceforge.net>2005-03-09 03:35:41 +0000
committerMotoi WASHIDA <wm3@users.sourceforge.net>2005-03-09 03:35:41 +0000
commit0c3de591d3c90f555645dbde4aea4c800e18332d (patch)
treef180c317c77c9e16805b6932ed9534c5c385b1cc /Completion/Unix
parent1f9166d4e1e666248efd5d6f0f44a97bf226c281 (diff)
downloadzsh-0c3de591d3c90f555645dbde4aea4c800e18332d.tar.gz
zsh-0c3de591d3c90f555645dbde4aea4c800e18332d.tar.xz
zsh-0c3de591d3c90f555645dbde4aea4c800e18332d.zip
20953: "du --version" tries to display size of files in current directory on FreeBSD and Darwin.
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_du2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_du b/Completion/Unix/Command/_du
index 167fc9895..0486cac7c 100644
--- a/Completion/Unix/Command/_du
+++ b/Completion/Unix/Command/_du
@@ -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]' \