Merge pull request 'Added option to allow tab completion to correct case mismatch (mostly for MacOS use)' (#9) from macos_completion into master

Reviewed-on: http://git.skyfall.tech/ajohnson/zsh/pulls/9
Reviewed-by: theissenm <matt@skyfalltech.com>
smile
Aaron Johnson 4 years ago
commit e40f93e03c

@ -8,6 +8,7 @@ HISTORY_NO_DUPS=true #Ignore duplicate back-to-back commands in shell history
# Prompt Style # Prompt Style
PROMPT_STYLE=bsd2 #Valid options: bsd, bsd2, ar5 PROMPT_STYLE=bsd2 #Valid options: bsd, bsd2, ar5
COMPLETION_STYLE=bash #ZSH "automenu" option toggle - Valid options: bash, zsh (defaults to bash) COMPLETION_STYLE=bash #ZSH "automenu" option toggle - Valid options: bash, zsh (defaults to bash)
CASE_SENSITIVE=true #Allows for tab-completion to auto-correct case sensitivity ('/vol' + <tab> becomes '/Volumes')
SHOW_NZ_EXIT=true #When true, prints non-zero exit codes into prompt (zero exit codes are not shown) SHOW_NZ_EXIT=true #When true, prints non-zero exit codes into prompt (zero exit codes are not shown)
# Example prompts: # Example prompts:

@ -51,3 +51,8 @@ then
setopt noautomenu setopt noautomenu
fi fi
if [ $CASE_SENSITIVE = false ]
then
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
fi

Loading…
Cancel
Save