zsh: add case insensitive completion

master
Guillaume Dott 2019-04-25 13:10:26 +02:00
parent 645e68b0ac
commit 688c432304
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,9 @@ bashcompinit
# Display a message when no match # Display a message when no match
#zstyle ':completion:*:warnings' format 'No matches for: %d' #zstyle ':completion:*:warnings' format 'No matches for: %d'
# Try first simple completion and, if that generates no matches, case-insensitive completion
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}'
# Ignore completion functions for commands you don't have: # Ignore completion functions for commands you don't have:
zstyle ':completion:*:functions' ignored-patterns '_*' zstyle ':completion:*:functions' ignored-patterns '_*'