summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-06-12 20:29:44 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-06-12 20:29:44 +0200
commit478d6421a016aeccfae415a67688cb16b482221b (patch)
treefc883468291cf93e11922819f6b351ab7c5e4a05 /bragi.nix
parent8517d6503626c86c682780c0e3b438ef7af9476c (diff)
downloadnixos-478d6421a016aeccfae415a67688cb16b482221b.tar
nixos-478d6421a016aeccfae415a67688cb16b482221b.tar.gz
nixos-478d6421a016aeccfae415a67688cb16b482221b.tar.bz2
nixos-478d6421a016aeccfae415a67688cb16b482221b.tar.xz
nixos-478d6421a016aeccfae415a67688cb16b482221b.zip
syntax fix
Diffstat (limited to 'bragi.nix')
-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\] "