diff --git a/lib/irb.rb b/lib/irb.rb
index c9c5b1561e..9d067b7a4d 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -105,9 +105,9 @@ require_relative "irb/easter-egg"
# IRB reads a personal initialization file when it's invoked.
# IRB searches a file in the following order and loads the first one found.
#
-# * +$IRBRC+ (if +$IRBRC+ is set)
-# * +$XDG_CONFIG_HOME/irb/irbrc+ (if +$XDG_CONFIG_HOME+ is set)
-# * +~/.irbrc+
+# * $IRBRC (if $IRBRC is set)
+# * $XDG_CONFIG_HOME/irb/irbrc (if $XDG_CONFIG_HOME is set)
+# * ~/.irbrc
# * +.config/irb/irbrc+
# * +.irbrc+
# * +irb.rc+