diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-08-07 01:06:03 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-08-07 01:06:03 +0200 |
commit | bd9a6b19aab5efedfa8c11fdac7e1b6aa8ea03c1 (patch) | |
tree | d4df15102736b5e19888d4a2f688132df559115b | |
parent | cddfa77e3eaed41dd9cb5e81a0200cff0eb1bb9a (diff) |
Fix put completion
-rw-r--r-- | etc/completions/_put | 4 |
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} |