diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-23 11:59:11 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-23 11:59:11 +0200 |
commit | efba4c7c7646d09e21c5297bb5ed74357e7f4525 (patch) | |
tree | ce4fdd5baedcf61a42d15372315a9ad37a52bb4e | |
parent | 3ae614b7c3f446179c486a4874c02574148bbe43 (diff) |
completions: Fix long/short equivalence handling
-rw-r--r-- | etc/completions/_fdupes | 2 | ||||
-rw-r--r-- | etc/completions/_feh | 2 | ||||
-rw-r--r-- | etc/completions/_modprobe | 2 | ||||
-rw-r--r-- | etc/completions/_youtube-dl | 2 |
4 files changed, 4 insertions, 4 deletions
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} diff --git a/etc/completions/_feh b/etc/completions/_feh index ab3cdab..2009547 100644 --- a/etc/completions/_feh +++ b/etc/completions/_feh @@ -170,7 +170,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]} } function _feh_theme { diff --git a/etc/completions/_modprobe b/etc/completions/_modprobe index 4e9e6ed..a09986c 100644 --- a/etc/completions/_modprobe +++ b/etc/completions/_modprobe @@ -59,7 +59,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]} } function _modprobe_all_modules { diff --git a/etc/completions/_youtube-dl b/etc/completions/_youtube-dl index c0daef2..98fa6e3 100644 --- a/etc/completions/_youtube-dl +++ b/etc/completions/_youtube-dl @@ -61,7 +61,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} |