summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-06-12 20:28:28 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-06-12 20:28:28 +0200
commit8517d6503626c86c682780c0e3b438ef7af9476c (patch)
treed00602f095ac364ef6ca478fc644823d650c0a4f /bragi.nix
parente0d7a110c76c9932d079cf2a4f89b441a1d41ac7 (diff)
downloadnixos-8517d6503626c86c682780c0e3b438ef7af9476c.tar
nixos-8517d6503626c86c682780c0e3b438ef7af9476c.tar.gz
nixos-8517d6503626c86c682780c0e3b438ef7af9476c.tar.bz2
nixos-8517d6503626c86c682780c0e3b438ef7af9476c.tar.xz
nixos-8517d6503626c86c682780c0e3b438ef7af9476c.zip
modified fix
Diffstat (limited to 'bragi.nix')
-rw-r--r--bragi.nix4
1 files 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 @@
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