Skip to content

Instantly share code, notes, and snippets.

@nhibberd
Created June 23, 2014 00:41
Show Gist options
  • Save nhibberd/9d78576aab943cdb0f6c to your computer and use it in GitHub Desktop.
Save nhibberd/9d78576aab943cdb0f6c to your computer and use it in GitHub Desktop.
Zsh case insensitivity auto complete
## case-insensitive (uppercase from lowercase) completion
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
## case-insensitive (all) completion
#zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
## case-insensitive,partial-word and then substring completion
#zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment