diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-04-02 11:32:38 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-04-02 11:32:38 +0200 |
commit | f0f3c02a3ccde07d3dc79577c7eca41ea3e8e86f (patch) | |
tree | d0aaab1de872a30a94555d2da3b501e13e18c217 /etc/completions/_feh | |
parent | 81ac4a06bff278f07620804b7d4120342b1f6522 (diff) |
Replace $var by ${var}
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} |