diff --git a/highlighters/root/root-highlighter.zsh b/highlighters/root/root-highlighter.zsh index 4ef8762..294fda1 100644 --- a/highlighters/root/root-highlighter.zsh +++ b/highlighters/root/root-highlighter.zsh @@ -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]") } }