summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bragi.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/bragi.nix b/bragi.nix
index 77ffb811..7e9ed966 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -148,7 +148,7 @@
148 ]; 148 ];
149 programs.bash.promptInit = '' 149 programs.bash.promptInit = ''
150 PROMPT_COLOR="1;31m" 150 PROMPT_COLOR="1;31m"
151 $UID && PROMPT_COLOR="1;32m" 151 return $UID && PROMPT_COLOR="1;32m"
152 case "$TERM" in 152 case "$TERM" in
153 xterm*|rxvt*|kterm|aterm|gnome*) # Others can go here. 153 xterm*|rxvt*|kterm|aterm|gnome*) # Others can go here.
154 PS1="\n\[\033[$PROMPT_COLOR\][\u@\h:\w]\\$\[\033[0m\] " 154 PS1="\n\[\033[$PROMPT_COLOR\][\u@\h:\w]\\$\[\033[0m\] "