From cd7f8100cb6b187649b323bc073115dda3991623 Mon Sep 17 00:00:00 2001 From: Nicholas Hebert <68243838+n-hebert@users.noreply.github.com> Date: Wed, 21 Feb 2024 18:27:59 -0400 Subject: [PATCH] Create ruby-irb to handle .irb_history (#363) * Create ruby-irb to handle .irb_history * Swap to state from config It's not config. * Add newline * Rename ruby-irb to ruby-irb.json Add missing suffix --- programs/ruby-irb.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 programs/ruby-irb.json diff --git a/programs/ruby-irb.json b/programs/ruby-irb.json new file mode 100644 index 0000000..0b14a5b --- /dev/null +++ b/programs/ruby-irb.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.irb_history", + "movable": true, + "help": "In Ruby versions 2.7 or later, configure IRB.conf[:HISTORY_FILE] in your .irbrc to $XDG_STATE_HOME/irb/history. For prior versions, set $irbrc\n" + } + ], + "name": "irb history" +} -- 2.47.3