summaryrefslogtreecommitdiff
path: root/etc/completions
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-06-23 11:59:11 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-06-23 11:59:11 +0200
commitefba4c7c7646d09e21c5297bb5ed74357e7f4525 (patch)
treece4fdd5baedcf61a42d15372315a9ad37a52bb4e /etc/completions
parent3ae614b7c3f446179c486a4874c02574148bbe43 (diff)
completions: Fix long/short equivalence handling
Diffstat (limited to 'etc/completions')
-rw-r--r--etc/completions/_fdupes2
-rw-r--r--etc/completions/_feh2
-rw-r--r--etc/completions/_modprobe2
-rw-r--r--etc/completions/_youtube-dl2
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}