mirror of https://github.com/bjeanes/dotfiles.git
Fix user display when root
parent
86795d54af
commit
cd3feae05b
|
@ -63,7 +63,7 @@ function precmd {
|
||||||
user_at_host="$USER"
|
user_at_host="$USER"
|
||||||
|
|
||||||
if [[ "$user" == "root" ]] then
|
if [[ "$user" == "root" ]] then
|
||||||
user_at_host="$pr_red$user$pr_reset"
|
user_at_host="$pr_red$user_at_host$pr_reset"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue