summary refs log tree commit diff stats
path: root/tag-zsh
diff options
context:
space:
mode:
authorAlan Pearce2016-07-13 14:12:05 +0200
committerAlan Pearce2016-07-13 14:12:05 +0200
commite11731541fa845777aae3a3f5a666c88f1f7218d (patch)
tree7591c0d39902a2ed2417adb3bc568aa0693ad922 /tag-zsh
parent7f310bdc9950bd5b0ae18bba6967990a0d699c1c (diff)
downloadnixfiles-e11731541fa845777aae3a3f5a666c88f1f7218d.tar.lz
nixfiles-e11731541fa845777aae3a3f5a666c88f1f7218d.tar.zst
nixfiles-e11731541fa845777aae3a3f5a666c88f1f7218d.zip
zsh: Configure completion
Diffstat (limited to 'tag-zsh')
-rw-r--r--tag-zsh/config/zsh/zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 25bccf93..99a14d35 100644
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-zsh/config/zsh/zshrc
@@ -54,6 +54,9 @@ alias llr="ll -t"
 
 bindkey '\e[3~' delete-char
 
+zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' '+m:{A-Z}={a-z}'
+zstyle ':completion:*' completer _expand _complete _match
+
 if zplug check Tarrasch/zsh-autoenv
 then
 	AUTOENV_FILE_ENTER=.envrc