mirror of
				https://github.com/zsh-users/zsh-syntax-highlighting.git
				synced 2025-10-31 01:55:07 +00:00 
			
		
		
		
	main: Avoid null elision in _check_path
This could be triggered if BUFFER='\'.
This commit is contained in:
		
							parent
							
								
									e27e53b1ef
								
							
						
					
					
						commit
						07f259f653
					
				| @ -893,7 +893,7 @@ _zsh_highlight_main_highlighter_highlight_path_separators() | |||||||
| # Else, return non-zero (and the contents of $REPLY is undefined). | # Else, return non-zero (and the contents of $REPLY is undefined). | ||||||
| _zsh_highlight_main_highlighter_check_path() | _zsh_highlight_main_highlighter_check_path() | ||||||
| { | { | ||||||
|   _zsh_highlight_main_highlighter_expand_path $1 |   _zsh_highlight_main_highlighter_expand_path "$1" | ||||||
|   local expanded_path="$REPLY" tmp_path |   local expanded_path="$REPLY" tmp_path | ||||||
| 
 | 
 | ||||||
|   REPLY=path |   REPLY=path | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Matthew Martin
						Matthew Martin