Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
0ca8907f
Unverified
Commit
0ca8907f
authored
Feb 26, 2023
by
Jannik
Committed by
GitHub
Feb 26, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(lib): fix case-insensitive completion for zsh 5.9 (#11526)
parent
cd647b6d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
completion.zsh
lib/completion.zsh
+2
-2
No files found.
lib/completion.zsh
View file @
0ca8907f
...
...
@@ -18,9 +18,9 @@ if [[ "$CASE_SENSITIVE" = true ]]; then
zstyle
':completion:*'
matcher-list
'r:|=*'
'l:|=* r:|=*'
else
if
[[
"
$HYPHEN_INSENSITIVE
"
=
true
]]
;
then
zstyle
':completion:*'
matcher-list
'm:{
a-zA-Z-_}={A-Za-z
_-}'
'r:|=*'
'l:|=* r:|=*'
zstyle
':completion:*'
matcher-list
'm:{
[:lower:][:upper:]-_}={[:upper:][:lower:]
_-}'
'r:|=*'
'l:|=* r:|=*'
else
zstyle
':completion:*'
matcher-list
'm:{
a-zA-Z}={A-Za-z
}'
'r:|=*'
'l:|=* r:|=*'
zstyle
':completion:*'
matcher-list
'm:{
[:lower:][:upper:]}={[:upper:][:lower:]
}'
'r:|=*'
'l:|=* r:|=*'
fi
fi
unset
CASE_SENSITIVE HYPHEN_INSENSITIVE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment