summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-05-04 19:29:27 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-05-04 19:29:27 +0100
commit577c99aca246aa76901b2d75a748dd4307f4a164 (patch)
treedd78095d91d115674368050f6fec0528c0f932e5 /zsh
parent19f04c6da57141f2ad8c362fa7051fbe51e3b37a (diff)
Improve kill-word in zsh
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 9307fc2..4f6074b 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -36,6 +36,10 @@ setopt share_history
# Completion
zstyle ':completion:*' matcher-list 'm:{a-zA-Z-_}={A-Za-z_-}' 'r:|=*' 'l:|=* r:|=*'
+# Kill word
+autoload -U select-word-style
+select-word-style bash
+
# Prompt
if [[ -n $SSH_CLIENT ]]; then
PROMPT='%F{red}[%M]%f %0~ $ '