chiark / gitweb /
dot/inputrc: Guard `shell-mumble' bindings.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 2 Jun 2018 14:38:30 +0000 (15:38 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 2 Jun 2018 14:38:30 +0000 (15:38 +0100)
Otherwise I get warnings from Scala, which is a bit annoying.

dot/inputrc

index 206ccf757b1a4f40ad845ca724f814b40092da9e..9313006877dc9c64a68ce1ec9c65f11cd76a6f2b 100644 (file)
@@ -26,7 +26,9 @@ set enable-bracketed-paste on
 "\C-u": kill-whole-line
 
 ## Better cursor motion.
+$if Bash
 "\e\C-b": shell-backward-word
 "\e\C-d": shell-kill-word
 "\e\C-f": shell-forward-word
 "\C-w": shell-backward-kill-word
+$endif