remove nix-shell prompt behaviour since it does not function with nix shell

This commit is contained in:
Rachel Lambda Samuelsson 2023-08-02 16:55:25 +02:00
parent f810146d4d
commit 34e5a3d281

View File

@ -110,7 +110,6 @@ in
QT_AUTO_SCREEN_FACTOR = 1; QT_AUTO_SCREEN_FACTOR = 1;
EDITOR = "emacsclient"; EDITOR = "emacsclient";
PATH = "${homeDir}/bin:$PATH"; PATH = "${homeDir}/bin:$PATH";
NIX_SHELL_PRESERVE_PROMPT=1;
}; };
shellAliases = { shellAliases = {
x = "startx"; x = "startx";
@ -120,7 +119,6 @@ in
initExtra = '' initExtra = ''
source ~/.profile source ~/.profile
set -o vi set -o vi
[ "$IN_NIX_SHELL" ] && export PS1="''${PS1%λ } "
''; '';
}; };