summaryrefslogtreecommitdiff
path: root/etc/completions/_put
diff options
context:
space:
mode:
Diffstat (limited to 'etc/completions/_put')
-rw-r--r--etc/completions/_put6
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}