Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] Completion/Unix/Commands/_ri: missed format change
- X-seq: zsh-workers 28574
- From: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxx>
- Subject: [PATCH] Completion/Unix/Commands/_ri: missed format change
- Date: Thu, 6 Jan 2011 01:01:42 -0500
- Cc: <zsh@xxxxxxxxxx>
- In-reply-to: <1293748882-3197-1-git-send-email-raorn@xxxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1293748882-3197-1-git-send-email-raorn@xxxxxxxxxxxx>
Comment from workers/28557 said:
"plain" formatter was removed, use "bs" formatter [...]
But the "Newer Style Ruby 1.9.2 RI" section was still using '-f plain'
(so, not completing anything for me).
---
Completion/Unix/Command/_ri | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Completion/Unix/Command/_ri b/Completion/Unix/Command/_ri
index 7474374..feb10ec 100644
--- a/Completion/Unix/Command/_ri
+++ b/Completion/Unix/Command/_ri
@@ -32,7 +32,7 @@ if [[ "$state" = ri-name ]]; then
ri_ext=yaml
elif "ruby${words[1]#ri}" -rrdoc/ri -rrdoc/ri/store -e 1 >/dev/null 2>&1; then
# Newer-style Ruby 1.9.2 RI
- ri_dirs=( ${(f)"$(_call_program ri-names "$words[1]" ${(kv)opt_args[(I)-d|--doc-dir|--((no-|)(system|site|gems|home)|standard-docs)]} --list-doc-dirs -f plain -T)"} )
+ ri_dirs=( ${(f)"$(_call_program ri-names "$words[1]" ${(kv)opt_args[(I)-d|--doc-dir|--((no-|)(system|site|gems|home)|standard-docs)]} --list-doc-dirs -f bs -T)"} )
ri_ext=ri
else
# New-style Ruby 1.9+ RI
--
1.7.3.1
Messages sorted by:
Reverse Date,
Date,
Thread,
Author