dot/inputrc: Guard `colored-stats' setting.
[profile] / dot / inputrc
1 ### bash and friends, readline configuration
2
3 ## Eight-bit sensibleness
4 set input-meta on
5 set output-meta on
6 set convert-meta off
7
8 ## Other twiddles.
9 set bell-style none
10 set bind-tty-special-chars off
11 set blink-matching-paren on
12 set colored-completion-prefix off
13 $if Bash
14 set colored-stats on
15 $endif
16 $if term=dumb
17 $else
18 set enable-bracketed-paste on
19 $endif
20 set show-all-if-ambiguous
21
22 ## Missing bindings
23 "\e\e[C": forward-word
24 "\e\e[D": backward-word
25 "\e ": "\e\\ "
26 "\e\C-w": kill-region
27
28 ## Because the default bindings are just too weird.
29 "\en": history-search-forward
30 "\ep": history-search-backward
31 "\C-u": kill-whole-line
32
33 ## Better cursor motion.
34 $if Bash
35 "\e\C-b": shell-backward-word
36 "\e\C-d": shell-kill-word
37 "\e\C-f": shell-forward-word
38 "\C-w": shell-backward-kill-word
39 $endif