changeset 676:9713ac597983

[inputrc] history search on ruby now works again
author nanaya <me@nanaya.pro>
date Fri, 08 Apr 2022 13:46:39 +0900
parents 68fbd1336559
children b95069a1f664
files rc/inputrc
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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