From 1e5f26537d296a8a8a81cb3212ae3506abdc5c60 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Wed, 12 Mar 2008 11:18:43 +0000 Subject: [PATCH] Fixed PS1 to show a # for the root-user svn path=/nixos/trunk/; revision=11077 --- etc/bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/bashrc b/etc/bashrc index 4b3234d89f73..1027d96e0393 100644 --- a/etc/bashrc +++ b/etc/bashrc @@ -3,7 +3,7 @@ # A nice prompt. PROMPT_COLOR="1;31m" let $UID && PROMPT_COLOR="1;32m" -PS1="\n\[\033[$PROMPT_COLOR\][\u@\h:\w]$\[\033[0m\] " +PS1="\n\[\033[$PROMPT_COLOR\][\u@\h:\w]\\$\[\033[0m\] " if test "x$TERM" == "xxterm"; then PS1="\033]2;\h:\u:\w\007$PS1" fi