From 8517d6503626c86c682780c0e3b438ef7af9476c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 12 Jun 2015 20:28:28 +0200 Subject: modified fix --- bragi.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bragi.nix b/bragi.nix index 67cd54db..77ffb811 100644 --- a/bragi.nix +++ b/bragi.nix @@ -147,9 +147,9 @@ { domain = "@audio"; item = "nofile"; type = "hard"; value = "99999"; } ]; programs.bash.promptInit = '' + PROMPT_COLOR="1;31m" + $UID && PROMPT_COLOR="1;32m" case "$TERM" in - PROMPT_COLOR="1;31m" - let $UID && PROMPT_COLOR="1;32m" xterm*|rxvt*|kterm|aterm|gnome*) # Others can go here. PS1="\n\[\033[$PROMPT_COLOR\][\u@\h:\w]\\$\[\033[0m\] " if test "$TERM" = "xterm"; then -- cgit v1.2.3