diff options
-rw-r--r-- | bragi.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -147,9 +147,9 @@ | |||
147 | { domain = "@audio"; item = "nofile"; type = "hard"; value = "99999"; } | 147 | { domain = "@audio"; item = "nofile"; type = "hard"; value = "99999"; } |
148 | ]; | 148 | ]; |
149 | programs.bash.promptInit = '' | 149 | programs.bash.promptInit = '' |
150 | PROMPT_COLOR="1;31m" | ||
151 | $UID && PROMPT_COLOR="1;32m" | ||
150 | case "$TERM" in | 152 | case "$TERM" in |
151 | PROMPT_COLOR="1;31m" | ||
152 | let $UID && PROMPT_COLOR="1;32m" | ||
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\] " |
155 | if test "$TERM" = "xterm"; then | 155 | if test "$TERM" = "xterm"; then |