diff options
Diffstat (limited to 'etc/completions/_feh')
-rw-r--r-- | etc/completions/_feh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/completions/_feh b/etc/completions/_feh index 064762e..97fff26 100644 --- a/etc/completions/_feh +++ b/etc/completions/_feh @@ -167,7 +167,7 @@ arguments=( ) for arg in ${(k)argument_pairs}; { - arguments+='(--'$arg')-'${argument_pairs[$arg]}${argument_postfix[$arg]} + arguments+='(--'${arg}')-'${argument_pairs[$arg]}${argument_postfix[$arg]} arguments+='(-'${argument_pairs[$arg]}[1]')--'${arg}${argument_postfix[$arg]} } @@ -177,9 +177,9 @@ function _feh_theme { typeset theme IFS=$'\n' for theme in $(grep "\w" ~/.fehrc | grep -v "^#"); do tmp=(${(s: :)theme}) - theme=$tmp[1] + theme=${tmp[1]} shift tmp - themes+=$theme:${(j: :)tmp} + themes+=${theme}:${(j: :)tmp} done _describe 'theme' themes fi @@ -197,4 +197,4 @@ function _feh_background { 'mode:mode:(trans)' } -_arguments -s $arguments +_arguments -s ${arguments} |