summaryrefslogtreecommitdiff
path: root/etc/completions
diff options
context:
space:
mode:
Diffstat (limited to 'etc/completions')
-rw-r--r--etc/completions/_put4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/completions/_put b/etc/completions/_put
index c5b19ca..10b2fe9 100644
--- a/etc/completions/_put
+++ b/etc/completions/_put
@@ -7,6 +7,6 @@ for net in $(grep '^hosts_' ${ZDIR}/functions/put | sed -r 's/^hosts_(\w*)=.*$/\
arguments+="-${net}"
}
-arguments+=':file:_files'
+arguments+='*:file:_files'
-_arguments -s ${arguments}
+_arguments -s : -p -r ${arguments}