about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Completion/Unix/Command/_od3
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c84d345d6..806520d45 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2014-12-07  Barton E. Schaefer  <schaefer@zsh.org>
 
+	* 33912: Completion/Unix/Command/_od: fix filename default case
+
 	* 33901: Completion/Base/Core/_main_complete: fix warning message
 	reference to funcstack (updates 33859)
 
diff --git a/Completion/Unix/Command/_od b/Completion/Unix/Command/_od
index 36a9b7dae..59775abf6 100644
--- a/Completion/Unix/Command/_od
+++ b/Completion/Unix/Command/_od
@@ -19,7 +19,6 @@ args=(
   {-l,-I,-L}'[output decimal longs (-t dL)]'
   {-o,-B}'[output octal shorts (-t o2)]'
   '-s[output decimal shorts (-t d2)]'
-  '*:files:_files'
 )
 
 if _pick_variant gnu=GNU unix --version; then
@@ -49,7 +48,7 @@ else
   esac
 fi
 
-_arguments -C -s -S : "$args[@]" && return 0
+_arguments -C -s -S : "$args[@]" '*:files:_files' && return 0
 
 case "$state" in
   (format)