Skip to content

Commit

Permalink
Issue sorin-ionescu#92 Eliminates system bell errors on osx.
Browse files Browse the repository at this point in the history
Prepended an 'if' to remove error bell on osx systems.
  • Loading branch information
jameskyle committed Jul 25, 2013
1 parent e5d8a50 commit 93827ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion highlighters/root/root-highlighter.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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]") }
}

0 comments on commit 93827ed

Please sign in to comment.