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/_put | |
parent | 81ac4a06bff278f07620804b7d4120342b1f6522 (diff) |
Replace $var by ${var}
Diffstat (limited to 'etc/completions/_put')
-rw-r--r-- | etc/completions/_put | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/completions/_put b/etc/completions/_put index 0dec487..c5b19ca 100644 --- a/etc/completions/_put +++ b/etc/completions/_put @@ -3,10 +3,10 @@ typeset -a arguments typeset net -for net in $(grep '^hosts_' $ZDIR/functions/put | sed -r 's/^hosts_(\w*)=.*$/\1/'); { - arguments+="-$net" +for net in $(grep '^hosts_' ${ZDIR}/functions/put | sed -r 's/^hosts_(\w*)=.*$/\1/'); { + arguments+="-${net}" } arguments+=':file:_files' -_arguments -s $arguments +_arguments -s ${arguments} |