Issue #92 Eliminates system bell errors on osx.
Prepended an 'if' to remove error bell on osx systems.
This commit is contained in:
parent
e5d8a50d36
commit
93827ed84d
|
@ -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