From: Nicholas Hebert <68243838+n-hebert@users.noreply.github.com> Date: Wed, 21 Feb 2024 22:27:59 +0000 (-0400) Subject: Create ruby-irb to handle .irb_history (#363) X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/commitdiff_plain/cd7f8100cb6b187649b323bc073115dda3991623?ds=sidebyside 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 --- 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" +}