Skip to content

Instantly share code, notes, and snippets.

@nhibberd
Created June 23, 2014 00:41
Show Gist options
  • Star 15 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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