From: "Alexey I. Froloff" <raorn@altlinux.org>
To: Zsh list <zsh-workers@zsh.org>
Cc: "Alexey I. Froloff" <raorn@altlinux.org>
Subject: [PATCH] _ruby: do not limit scripts to *.rb glob
Date: Tue, 1 Dec 2009 19:06:16 +0300 [thread overview]
Message-ID: <1259683576-7957-1-git-send-email-raorn@altlinux.org> (raw)
Ruby scripts doesn't have to have .rb extension, I may be simple
executable script with /usr/bin/ruby shebang. Running these scripts
with ruby command may be the only way to specify additional arguments
to interpreter itself (like -I or -r).
Signed-off-by: Alexey I. Froloff <raorn@altlinux.org>
---
Completion/Unix/Command/_ruby | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Completion/Unix/Command/_ruby b/Completion/Unix/Command/_ruby
index aef186c..03f4e60 100644
--- a/Completion/Unix/Command/_ruby
+++ b/Completion/Unix/Command/_ruby
@@ -8,7 +8,7 @@ typeset -A opt_args
local -a args opts
args=(
- '(-)1:script file:_files -g "*.rb(-.)"'
+ '(-)1:script file:_files'
'*::script argument: _normal'
)
--
1.6.5.3
reply other threads:[~2009-12-01 16:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1259683576-7957-1-git-send-email-raorn@altlinux.org \
--to=raorn@altlinux.org \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).