Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 16/25] Finish completions for purge and new_version.
- X-seq: zsh-workers 42843
- From: doron.behar@xxxxxxxxx
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 16/25] Finish completions for purge and new_version.
- Date: Sat, 26 May 2018 18:06:25 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=ouHQIjfeAAEx4lQQvPVpdKGarn6zEX4LqqHAO6g6RHs=; b=D75gKARcOxoSv1hQsUIW8bj8YzlgoVro7Aum/kqSWe4cZ7l8ypTTd7rvtXoFer7Rdm uJiRvriXRCXigL0LJ3DYttn5N1UkAWFMmCy1J3E5KtMkYj+fohu14W4UI5f/wGwitcyD aJxhe4/q6heGk4FY2L0gOIHWUZ5mPw10oZnrkYKD6srvFxPbkObUJmNBA+gAKc5I/n1M q9+HatGGF1COSXKFUlwVMt0dAStflvZqKnxlHyqRa5Ct3cYPMMX1Ao9P9cm/EcR0AioZ 9FCNT7eQ8ltj0dDHBl/qXvNzTaNyXfjSETSJQW0q/dYBHp2LWc2gUbvoNVFBKuQkZTLW Pe9A==
- In-reply-to: <20180526150634.15683-1-doron.behar@gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20180526150634.15683-1-doron.behar@gmail.com>
From: Doron Behar <doron.behar@xxxxxxxxx>
---
Completion/Unix/Command/_luarocks | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index db27a76d5..c2ecde869 100644
--- a/Completion/Unix/Command/_luarocks
+++ b/Completion/Unix/Command/_luarocks
@@ -292,6 +292,11 @@ local new_version_command_options=(
'--tag=[if no version is specified, this option'"'"'s argument is used instead]:TAG:__git_tag'
)
_luarocks_new_version(){
+ _arguments -A "-*" \
+ "${new_version_command_options[@]}" \
+ '1:: :{__luarocks_rock "external" "rockspec"}' \
+ '2:: :{__luarocks_rock_version "external_or_local"}' \
+ '3:: :_urls'
}
# }}}
# {{{ `pack` command
@@ -324,6 +329,7 @@ local purge_command_options=(
$option_force
)
_luarocks_purge(){
+ _arguments "${purge_command_options[@]}"
}
# }}}
# {{{ `remove` command
--
2.17.0
Messages sorted by:
Reverse Date,
Date,
Thread,
Author