X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/ad4f178b42dfb3742fb70ba1345a700bb5fdd684..eba46687717c5cb7c92f3c4ab8df88f0adfec8fc:/dot/inputrc diff --git a/dot/inputrc b/dot/inputrc index 206ccf7..ff6daa2 100644 --- a/dot/inputrc +++ b/dot/inputrc @@ -9,10 +9,14 @@ set convert-meta off set bell-style none set bind-tty-special-chars off set blink-matching-paren on -set enable-bracketed-paste on set colored-completion-prefix off +$if Bash set colored-stats on +$endif +$if term=dumb +$else set enable-bracketed-paste on +$endif ## Missing bindings "\e\e[C": forward-word @@ -26,7 +30,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