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/_imagemagick2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_imagemagick b/Completion/User/_imagemagick
index 788cbbd51..36b95fdb3 100644
--- a/Completion/User/_imagemagick
+++ b/Completion/User/_imagemagick
@@ -18,7 +18,7 @@ if (( $# )); then
   return
 fi
 
-case "$words[1]" in
+case "${words[1]:t}" in
 display)
   _arguments -M 'm:{a-z}={A-Z}' \
       '*-backdrop[use full screen]' \