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 206ccf7..9313006 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