From efba4c7c7646d09e21c5297bb5ed74357e7f4525 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 23 Jun 2010 11:59:11 +0200 Subject: completions: Fix long/short equivalence handling --- etc/completions/_fdupes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/completions/_fdupes') diff --git a/etc/completions/_fdupes b/etc/completions/_fdupes index 49fe911..c3b0f8b 100644 --- a/etc/completions/_fdupes +++ b/etc/completions/_fdupes @@ -53,7 +53,7 @@ arguments=( for arg in ${(k)argument_pairs}; { arguments+='(--'${arg}')-'${argument_pairs[$arg]}${argument_postfix[$arg]} - arguments+='(-'${argument_pairs[$arg]}[1]')--'${arg}${argument_postfix[$arg]} + arguments+='(-'${${argument_pairs[$arg]}[1]}')--'${arg}${argument_postfix[$arg]} } _arguments -s ${arguments} -- cgit v1.2.3