zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] _ruby: do not limit scripts to *.rb glob
@ 2009-12-01 16:06 Alexey I. Froloff
  0 siblings, 0 replies; only message in thread
From: Alexey I. Froloff @ 2009-12-01 16:06 UTC (permalink / raw)
  To: Zsh list; +Cc: Alexey I. Froloff

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-01 16:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-01 16:06 [PATCH] _ruby: do not limit scripts to *.rb glob Alexey I. Froloff

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).