zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] _ruby: fix a typo
@ 2015-01-28 11:44 Jun T.
  0 siblings, 0 replies; only message in thread
From: Jun T. @ 2015-01-28 11:44 UTC (permalink / raw)
  To: zsh-workers

A simple typo in _ruby


diff --git a/Completion/Unix/Command/_ruby b/Completion/Unix/Command/_ruby
index 946ebe2..49a1170 100644
--- a/Completion/Unix/Command/_ruby
+++ b/Completion/Unix/Command/_ruby
@@ -95,7 +95,7 @@ case "$service" in
     _arguments -C -s : $irb $all $common && ret=0
   ;;
   erb[0-9.]#)
-    RUBY=${words[1]/irb/ruby}
+    RUBY=${words[1]/erb/ruby}
     _arguments -C -s : $erb $all \
       '*:erb file:_files -g "*.erb(-.)"' && ret=0
   ;;




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

only message in thread, other threads:[~2015-01-28 11:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-28 11:44 [PATCH] _ruby: fix a typo Jun T.

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