dot/inputrc: Guard `colored-stats' setting.
[profile] / dot / inputrc
index 0dadcbc..8621fbb 100644 (file)
@@ -6,20 +6,34 @@ set output-meta on
 set convert-meta off
 
 ## Other twiddles.
+set bell-style none
 set bind-tty-special-chars off
 set blink-matching-paren on
+set colored-completion-prefix off
+$if Bash
+set colored-stats on
+$endif
+$if term=dumb
+$else
+set enable-bracketed-paste on
+$endif
+set show-all-if-ambiguous
 
 ## Missing bindings
 "\e\e[C": forward-word
 "\e\e[D": backward-word
+"\e ": "\e\\ "
+"\e\C-w": kill-region
 
 ## Because the default bindings are just too weird.
 "\en": history-search-forward
 "\ep": history-search-backward
+"\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
-"\e\C-w": kill-region
+$endif