mirror of
				https://github.com/zsh-users/zsh-syntax-highlighting.git
				synced 2025-10-30 15:56:28 +08:00 
			
		
		
		
	Merge pull request #116 from jameskyle/feature/Issue-#92-silence-system-bell-in-osx
Issue #92 Eliminates system bell errors on osx.
This commit is contained in:
		
						commit
						3f2c76f393
					
				| @ -41,5 +41,5 @@ _zsh_highlight_root_highlighter_predicate() | |||||||
| # root highlighting function. | # root highlighting function. | ||||||
| _zsh_highlight_root_highlighter() | _zsh_highlight_root_highlighter() | ||||||
| { | { | ||||||
|   [[ $(command id -u) -eq 0 ]] && region_highlight+=("0 $#BUFFER $ZSH_HIGHLIGHT_STYLES[root]") |   if [[ $(command id -u) -eq 0 ]] { region_highlight+=("0 $#BUFFER $ZSH_HIGHLIGHT_STYLES[root]") } | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Julien Nicoulaud
						Julien Nicoulaud