diff --git a/zshrc b/zshrc index 731d4a5..57f48b6 100644 --- a/zshrc +++ b/zshrc @@ -138,7 +138,7 @@ set_prompt() { branch+="$(color $color_vcs_braces))" fi - if [ "$(whoami)" != "$normal_user" ]; then + if [ "$USER" != "$normal_user" ]; then local user="%n@" fi