about summary refs log tree commit diff
path: root/Completion/User/_imagemagick
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_imagemagick')
-rw-r--r--Completion/User/_imagemagick4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/User/_imagemagick b/Completion/User/_imagemagick
index 36b95fdb3..cf6604e3d 100644
--- a/Completion/User/_imagemagick
+++ b/Completion/User/_imagemagick
@@ -1,6 +1,6 @@
 #compdef display animate import montage convert combine mogrify xtp
 
-local context state line expl formats
+local state line expl formats curcontext="$curcontext"
 typeset -A opt_args
 
 # Things that could be improved:
@@ -187,7 +187,7 @@ montage)
   ;;
 
 convert)
-  _arguments -M 'm:{a-z}={A-Z}' \
+  _arguments -C -M 'm:{a-z}={A-Z}' \
       '-adjoin[join images]' \
       '-antialias[remove pixel aliasing]' \
       '-append[append image sequence]' \