summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-06-14 20:10:50 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2015-06-14 20:10:50 -0700
commit806f73a0b3d3959d5af12ce97e0258b4d4fe7d76 (patch)
tree9d3123c1f177d0b55f88d6520df47a7fae76d811
parentf1923bdfa6300a0d32e3329eb2488447f76b8970 (diff)
downloadzsh-806f73a0b3d3959d5af12ce97e0258b4d4fe7d76.tar.gz
zsh-806f73a0b3d3959d5af12ce97e0258b4d4fe7d76.tar.xz
zsh-806f73a0b3d3959d5af12ce97e0258b4d4fe7d76.zip
35467: complete files for non-GNU du
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/_du2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b45e5e8f..f297a0b17 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-06-14  Barton E. Schaefer  <schaefer@zsh.org>
+
+	* 35467: Completion/Unix/Command/_du: complete files for non-GNU du
+
 2015-06-12  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* 35448: Src/Modules/curses.c, Src/Modules/regex.c,
diff --git a/Completion/Unix/Command/_du b/Completion/Unix/Command/_du
index d8871cd8d..4065a20de 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