diff options
author | Mikael Magnusson <mikachu@gmail.com> | 2011-05-27 14:48:06 +0000 |
---|---|---|
committer | Mikael Magnusson <mikachu@gmail.com> | 2011-05-27 14:48:06 +0000 |
commit | 2865dc2157fa6b78a8ef1171ab28e7fb1169308a (patch) | |
tree | ccd697182ee5657d9763fb11688e4991dd39aa18 /Completion/Unix/Command | |
parent | 3214cf0a74976e8b8d2b5dc1013666d7b9b95a9a (diff) | |
download | zsh-2865dc2157fa6b78a8ef1171ab28e7fb1169308a.tar.gz zsh-2865dc2157fa6b78a8ef1171ab28e7fb1169308a.tar.xz zsh-2865dc2157fa6b78a8ef1171ab28e7fb1169308a.zip |
29334: complete with _arguments -- for zsh
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_sh b/Completion/Unix/Command/_sh index 9e72a2918..7258e4260 100644 --- a/Completion/Unix/Command/_sh +++ b/Completion/Unix/Command/_sh @@ -5,7 +5,10 @@ if [[ $service == zsh ]]; then if [[ ${words[CURRENT-1]} == -o ]]; then _options # no other possibilities - return + return 0 + fi + if _arguments -S -s -- '*:'; then + return 0 fi fi |