mirror of
				https://github.com/zsh-users/zsh-syntax-highlighting.git
				synced 2025-11-03 19:45:46 +00:00 
			
		
		
		
	Default possibly unset variables to empty
This commit is contained in:
		
							parent
							
								
									a33c72e838
								
							
						
					
					
						commit
						a9ce931439
					
				@ -49,7 +49,7 @@
 | 
			
		||||
 | 
			
		||||
# Set up results_filter
 | 
			
		||||
local results_filter
 | 
			
		||||
if [[ $QUIET == y ]]; then
 | 
			
		||||
if [[ ${QUIET-} == y ]]; then
 | 
			
		||||
  if type -w perl >/dev/null; then
 | 
			
		||||
    results_filter=${0:A:h}/tap-filter
 | 
			
		||||
  else
 | 
			
		||||
 | 
			
		||||
@ -188,7 +188,7 @@ _zsh_highlight_apply_zle_highlight() {
 | 
			
		||||
  integer first="$3" second="$4"
 | 
			
		||||
 | 
			
		||||
  # read the relevant entry from zle_highlight
 | 
			
		||||
  local region="${zle_highlight[(r)${entry}:*]}"
 | 
			
		||||
  local region="${zle_highlight[(r)${entry}:*]-}"
 | 
			
		||||
 | 
			
		||||
  if [[ -z "$region" ]]; then
 | 
			
		||||
    # entry not specified at all, use default value
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user