4 "path": "$HOME/.irbrc",
6 "help": "Export the following environment variable:\n\n```bash\nexport IRBRC=\"$XDG_CONFIG_HOME/irb/irbrc\"\n```\n"
9 "path": "$HOME/.irb_history",
11 "help": "In Ruby versions 2.7 or later, add the following to your .irbrc:\n\n```ruby\nIRB.conf[:HISTORY_FILE] ||= File.join(ENV[\"XDG_DATA_HOME\"], \"irb\", \"history\")\n```\n\nFor prior versions, set $IRBRC\n"