Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 14/25] Finish `_luarocks_doc` and `_luarocks_config`.
- X-seq: zsh-workers 42841
- From: doron.behar@xxxxxxxxx
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 14/25] Finish `_luarocks_doc` and `_luarocks_config`.
- Date: Sat, 26 May 2018 18:06:23 +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=TBLL8Idv4z8hIfIHe00+Q4RO2J9sbQ9JAR3vNiRqAGU=; b=VJLDNcFnQIO8JjLOvbo1zsWO5t8DIth3kkb4E9AhJnTJK65DEZA+eUbdrkNRQUQubY z8vYRgLL71z719yZSOOxAdP/GfE4fNceFd0lK85K/jBkjF/M+upPIUcQMheudcOFNFXC g7yzbbGwpOYBrQM54bUIQ2wMjlejym2cAEiiBQs74jd3WVXMj++7dnN7kzHctgCnjGNM BdeveIuKBLLR1PpuQbO5HVZGZ+kdvpnAqw5Y2skxqDuxxtbBiqwlG7A/H91d5gbqd9JF pwrh/DJZ9eFt66MphZFSfdGpxXSaMUJL5dFyGDOTyGjno6OupU62VX7UjEyB8+CvSp97 nr4g==
- 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, 5 insertions(+), 1 deletion(-)
diff --git a/Completion/Unix/Command/_luarocks b/Completion/Unix/Command/_luarocks
index d73a84d2a..aec6ba815 100644
--- a/Completion/Unix/Command/_luarocks
+++ b/Completion/Unix/Command/_luarocks
@@ -185,16 +185,20 @@ local config_command_options=(
'--rock-trees[Rocks trees in useFirst the user tree, then the system tree]'
)
_luarocks_config(){
+ _arguments "${config_command_options[@]}"
}
# }}}
# {{{ `doc` command
# arguments:
-# - TODO
+# - must: installed rock
local doc_command_options=(
'--home[Open the home page of project]'
'--list[List documentation files only]'
)
_luarocks_doc(){
+ _arguments \
+ "${doc_command_options[@]}" \
+ '1: :{__luarocks_rock "installed"}'
}
# }}}
# {{{ `download` command
--
2.17.0
Messages sorted by:
Reverse Date,
Date,
Thread,
Author