summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf.d/60-prompt.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.d/60-prompt.zsh b/conf.d/60-prompt.zsh
index 0ec758b..4b091f4 100644
--- a/conf.d/60-prompt.zsh
+++ b/conf.d/60-prompt.zsh
@@ -77,7 +77,7 @@ left_prompt() {
local printed_host=
case $USER in
- "$PRIMARY_USER" | "root") ;;
+ "$PRIMARY_USER" | "root" | "") ;;
*) printed_host=1; echo -n "$USER"
esac