1
1
Fork 0

zshrc: Use $USER instead of $(whoami)

This fixes QNX.
This commit is contained in:
Jonathan Schleifer 2024-03-31 20:57:53 +00:00
parent ddc3010a0a
commit cd407df7d7

2
zshrc
View file

@ -138,7 +138,7 @@ set_prompt() {
branch+="$(color $color_vcs_braces))" branch+="$(color $color_vcs_braces))"
fi fi
if [ "$(whoami)" != "$normal_user" ]; then if [ "$USER" != "$normal_user" ]; then
local user="%n@" local user="%n@"
fi fi