summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_ruby2
1 files changed, 1 insertions, 1 deletions
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
   ;;