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:
Julien Nicoulaud 2013-08-08 07:26:22 -07:00
commit 3f2c76f393

View File

@ -41,5 +41,5 @@ _zsh_highlight_root_highlighter_predicate()
# root highlighting function.
_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]") }
}