# HG changeset patch # User nanaya # Date 1649393199 -32400 # Node ID 9713ac5979830a155c602cfeb4001c20e1349853 # Parent 68fbd1336559eb060a13b802f9d907e87e596ac2 [inputrc] history search on ruby now works again diff -r 68fbd1336559 -r 9713ac597983 rc/inputrc --- a/rc/inputrc Tue Apr 05 14:00:26 2022 +0900 +++ b/rc/inputrc Fri Apr 08 13:46:39 2022 +0900 @@ -24,15 +24,15 @@ "\e\e[D": backward-word "\e\e[C": forward-word -$if Ruby -# Eventually remove this bug workaround -# Reference: https://github.com/ruby/reline/pull/416/files -"\C-u": unix-line-discard -$else #Up/Down "\e[A": history-search-backward "\e[B": history-search-forward #GNOME Terminal "\eOA": history-search-backward "\eOB": history-search-forward + +$if Ruby +# Eventually remove this bug workaround +# Reference: https://github.com/ruby/reline/pull/416/files +#"\C-u": unix-line-discard $endif