.profile: Fix incorrect username

This commit is contained in:
Salt 2020-09-16 11:59:05 -05:00
parent 6ad9b7b614
commit 591510b6d6

View File

@ -336,7 +336,7 @@ _ps1bash() {
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
prefix="${fg_bold}${fg_red}$(hostname -s)${r}${fg_red}:${r}${prefix}"
elif [ "$USER" != "salt" ]; then
prefix="${fg_bold}${fg_yellow}$USERNAME${r}${fg_yellow}:${r}${prefix}"
prefix="${fg_bold}${fg_yellow}$USER${r}${fg_yellow}:${r}${prefix}"
fi
# Change PWD color depending on the shell
case $0 in