From b8bdb144d2a310632efb3bbd7dd78d4f296bc62f Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 5 Apr 2000 11:28:08 +0000 Subject: use basename of commands instead of $words[1] --- Completion/User/_imagemagick | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/User/_imagemagick') 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]' \ -- cgit 1.4.1