.profile: Fix incorrect username
This commit is contained in:
parent
6ad9b7b614
commit
591510b6d6
2
.profile
2
.profile
@ -336,7 +336,7 @@ _ps1bash() {
|
|||||||
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
|
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
|
||||||
prefix="${fg_bold}${fg_red}$(hostname -s)${r}${fg_red}:${r}${prefix}"
|
prefix="${fg_bold}${fg_red}$(hostname -s)${r}${fg_red}:${r}${prefix}"
|
||||||
elif [ "$USER" != "salt" ]; then
|
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
|
fi
|
||||||
# Change PWD color depending on the shell
|
# Change PWD color depending on the shell
|
||||||
case $0 in
|
case $0 in
|
||||||
|
Loading…
Reference in New Issue
Block a user