Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] _ruby: do not limit scripts to *.rb glob
- X-seq: zsh-workers 27445
- From: "Alexey I. Froloff" <raorn@xxxxxxxxxxxx>
- To: Zsh list <zsh-workers@xxxxxxx>
- Subject: [PATCH] _ruby: do not limit scripts to *.rb glob
- Date: Tue, 1 Dec 2009 19:06:16 +0300
- Cc: "Alexey I. Froloff" <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
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@xxxxxxxxxxxx>
---
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author