about summary refs log tree commit diff
path: root/.config/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh/.zshrc')
-rw-r--r--.config/zsh/.zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 88ae0b8..aa9b241 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -26,7 +26,10 @@ setopt auto_param_slash   # convenience: add trailing / after directories
 setopt extended_glob
 setopt no_case_glob
 setopt no_flow_control
+# complete . and ..
 zstyle ':completion:*' special-dirs true
+# complete the middle of words e.g. lc -> pluralcafe
+zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|=*' 'l:|=* r:|=*'
 # cache completions
 zstyle ':completion::complete:*' use-cache yes
 zstyle ':completion::complete:*' cache-path "$HOME/.zcompcache"