about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2014-12-07 11:19:12 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2014-12-07 11:20:01 -0800
commit09959eb9d6bf81d8413dc3429372f73c2d9bb13f (patch)
tree21c00a3abc7e931eba9b2a070bc7b8a31f8d3a56 /Completion/Unix
parent5e9206061de6f12d7fe56d98fb4ba364847a7838 (diff)
downloadzsh-09959eb9d6bf81d8413dc3429372f73c2d9bb13f.tar.gz
zsh-09959eb9d6bf81d8413dc3429372f73c2d9bb13f.tar.xz
zsh-09959eb9d6bf81d8413dc3429372f73c2d9bb13f.zip
33912: fix filename default case
version-of-od argument list manipulation clobbered the default spec
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_od3
1 files changed, 1 insertions, 2 deletions
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)