Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] _ruby: fix a typo



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
   ;;





Messages sorted by: Reverse Date, Date, Thread, Author