Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: du completion broken on FreeBSD
On Jun 14, 11:28pm, Baptiste Daroussin wrote:
}
} Since 5.0.8 I have notice that du is broken on freebsd (keep proposing
} options but never to complete any files)
Something got lost in workers/33485.
diff --git a/Completion/Unix/Command/_du b/Completion/Unix/Command/_du
index d8871cd..4065a20 100644
--- a/Completion/Unix/Command/_du
+++ b/Completion/Unix/Command/_du
@@ -74,5 +74,5 @@ else
do
[[ $OSTYPE = $~pattern ]] && args+=( $arg )
done
- _arguments -s -A "-*" $args
+ _arguments -s -A "-*" $args '*:file:_files'
fi
Messages sorted by:
Reverse Date,
Date,
Thread,
Author