From cd3feae05b56cad06b1eb2a86b10db202e0291e6 Mon Sep 17 00:00:00 2001 From: Bodaniel Jeanes Date: Sat, 26 Mar 2011 18:46:21 -0500 Subject: [PATCH] Fix user display when root --- shell/prompt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/prompt.sh b/shell/prompt.sh index 73647a7..8bb4ba0 100644 --- a/shell/prompt.sh +++ b/shell/prompt.sh @@ -63,7 +63,7 @@ function precmd { user_at_host="$USER" if [[ "$user" == "root" ]] then - user_at_host="$pr_red$user$pr_reset" + user_at_host="$pr_red$user_at_host$pr_reset" fi fi