From de0755286db71ccb9a86f7eff695aa3ff8a7274c Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Mon, 15 Apr 2024 19:38:02 -0400 Subject: [PATCH] Fix var check --- configs/shells/zsh/prompt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/shells/zsh/prompt.sh b/configs/shells/zsh/prompt.sh index a1986c4..a06e713 100644 --- a/configs/shells/zsh/prompt.sh +++ b/configs/shells/zsh/prompt.sh @@ -31,7 +31,7 @@ export PROMPT="${PROMPT}%{$fg[cyan]%}%~ ${USER_ICON} %{$reset_color%}" setopt prompt_subst # Don't bother rendering VCS info on weak systems. Just fallback to the time and status -if [ -n "$EWCONFIG_IN_ISH" ]; then +if [ -z "$EWCONFIG_IN_ISH" ]; then autoload -Uz vcs_info zstyle ':vcs_info:*' actionformats \ '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f '