summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/irb/default_commands.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/irb/default_commands.rb b/lib/irb/default_commands.rb
index 768fbee9d7..533bdfc875 100644
--- a/lib/irb/default_commands.rb
+++ b/lib/irb/default_commands.rb
@@ -218,7 +218,8 @@ module IRB
)
_register_with_aliases(:irb_show_doc, Command::ShowDoc,
- [:show_doc, NO_OVERRIDE]
+ [:show_doc, NO_OVERRIDE],
+ [:ri, NO_OVERRIDE]
)
_register_with_aliases(:irb_info, Command::IrbInfo)