diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-12 20:28:28 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-12 20:28:28 +0200 |
commit | 8517d6503626c86c682780c0e3b438ef7af9476c (patch) | |
tree | d00602f095ac364ef6ca478fc644823d650c0a4f | |
parent | e0d7a110c76c9932d079cf2a4f89b441a1d41ac7 (diff) | |
download | nixos-8517d6503626c86c682780c0e3b438ef7af9476c.tar nixos-8517d6503626c86c682780c0e3b438ef7af9476c.tar.gz nixos-8517d6503626c86c682780c0e3b438ef7af9476c.tar.bz2 nixos-8517d6503626c86c682780c0e3b438ef7af9476c.tar.xz nixos-8517d6503626c86c682780c0e3b438ef7af9476c.zip |
modified fix
-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 |