From cd407df7d78f671babe1da03ebb51dcce82ced4f Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Sun, 31 Mar 2024 20:57:53 +0000 Subject: [PATCH] zshrc: Use $USER instead of $(whoami) This fixes QNX. --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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