summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/_ruby2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c32499ae1..0ac15e735 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-28  Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
+
+	* 34423: _ruby: fix a typo
+
 2015-01-27  Frank Terbeck  <ft@bewatermyfriend.org>
 
 	* 34419: Doc/Zsh/contrib.yo: vcs_info documentation: Fix wording
diff --git a/Completion/Unix/Command/_ruby b/Completion/Unix/Command/_ruby
index 946ebe270..49a1170ef 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
   ;;