zsh: Fix fuzzy completion
This commit is contained in:
		
							parent
							
								
									0544303c19
								
							
						
					
					
						commit
						0ea71ba06c
					
				| 
						 | 
					@ -20,8 +20,12 @@ zstyle ':completion::complete:*' use-cache on
 | 
				
			||||||
zstyle ':completion::complete:*' cache-path "${ZDOTDIR:-$HOME}/.zgen/.zcompcache"
 | 
					zstyle ':completion::complete:*' cache-path "${ZDOTDIR:-$HOME}/.zgen/.zcompcache"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Case-insensitive (all), partial-word, and then substring completion.
 | 
					# Case-insensitive (all), partial-word, and then substring completion.
 | 
				
			||||||
zstyle ':completion:*' matcher-list 'm:{a-zA-Z\-}={A-Za-z\_}' #'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
 | 
					zstyle ':completion:*' matcher-list '' \
 | 
				
			||||||
zstyle ':completion:*' matcher-list 'r:[[:ascii:]]||[[:ascii:]]=** r:|=* m:{a-z\-}={A-Z\_}'
 | 
					       'm:{a-z\-}={A-Z\_}' \
 | 
				
			||||||
 | 
					       'r:[^[:alpha:]]||[[:alpha:]]=** r:|=* m:{a-z\-}={A-Z\_}' \
 | 
				
			||||||
 | 
					       'r:[[:ascii:]]||[[:ascii:]]=** r:|=* m:{a-z\-}={A-Z\_}'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# zstyle ':completion:*' matcher-list 'r:[[:ascii:]]||[[:ascii:]]=** r:|=* m:{a-z\-}={A-Z\_}'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Group matches and describe.
 | 
					# Group matches and describe.
 | 
				
			||||||
zstyle ':completion:*:*:*:*:*' menu select
 | 
					zstyle ':completion:*:*:*:*:*' menu select
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue