diff options
| -rw-r--r-- | bragi.nix | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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\] " |
