mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
Fix #1380
It lacked a backslash. Use a raw string and single quotes around PS1 to simplify this.
This commit is contained in:
parent
01200d07d2
commit
9711524188
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,7 @@ int main(int argc, char ** argv)
|
|||
"[ -e $stdenv/setup ] && source $stdenv/setup; "
|
||||
"%3%"
|
||||
"set +e; "
|
||||
"[ -n \"$PS1\" ] && PS1=\"\\n\\[\\033[1;32m\\][nix-shell:\\w]\\$\\[\\033[0m\\] \"; "
|
||||
R"s([ -n "$PS1" ] && PS1='\n\[\033[1;32m\][nix-shell:\w]\$\[\033[0m\] '; )s"
|
||||
"if [ \"$(type -t runHook)\" = function ]; then runHook shellHook; fi; "
|
||||
"unset NIX_ENFORCE_PURITY; "
|
||||
"unset NIX_INDENT_MAKE; "
|
||||
|
|
Loading…
Reference in a new issue