Since Nix 2.4 [1] there is NIX_SHELL_PRESERVE_PROMPT environment variable which makes `nix-shell` preserve original `PS1`. It can be added by
home.sessionVariables = {
NIX_SHELL_PRESERVE_PROMPT=1;
};
1: <
Since Nix 2.4 [1] there is NIX_SHELL_PRESERVE_PROMPT environment variable which makes `nix-shell` preserve original `PS1`. It can be added by
home.sessionVariables = {
NIX_SHELL_PRESERVE_PROMPT=1;
};
1: <