mirror of
				https://github.com/zsh-users/zsh-syntax-highlighting.git
				synced 2025-11-04 03:56:30 +00:00 
			
		
		
		
	Instead, use the %N prompt expando, as suggested by Bart in users/21637. Avoid the `print -P %N` syntax to save a fork on Cygwin, at the expense of not supporting zsh's from 2001 through c. 2004 vintages. Fixes #338.
		
			
				
	
	
		
			3 lines
		
	
	
		
			57 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
		
			57 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
0=${(%):-%N}
 | 
						|
source ${0:A:h}/zsh-syntax-highlighting.zsh
 |