From d1688ecb9c34f52e616376e925645c9d9782e8b8 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 25 Aug 2016 13:15:47 +1200 Subject: Fix up Bash/readline word-killing behaviour --- readline/inputrc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'readline/inputrc') diff --git a/readline/inputrc b/readline/inputrc index bc6c2aad..f8b4da42 100644 --- a/readline/inputrc +++ b/readline/inputrc @@ -1,6 +1,9 @@ # Never ring any sort of bell during line reading set bell-style none +# Let readline do stuff like word killing, not stty(1) +set bind-tty-special-chars off + # Ignore case when matching and completing paths set completion-ignore-case On @@ -28,6 +31,10 @@ set show-all-if-ambiguous On # Don't re-complete already completed text in the middle of a word set skip-completed-text On +# Killing words should stop at / +# +"\C-w": backward-kill-word + # Bash macros $if Bash -- cgit v1.2.3