all repos — nixfiles @ 65d5b658770a055291abe509f2094f271fd4bbe2

System and user configuration, managed by nix and home-manager

zsh: don't add ~/.local/bin to path on darwin

Alan Pearce
commit

65d5b658770a055291abe509f2094f271fd4bbe2

parent

264ad042866715855412ab786c1ad5edbc298565

1 file changed, 2 insertions(+), 1 deletion(-)

changed files
M user/settings/zsh.nixuser/settings/zsh.nix
@@ -202,7 +202,8 @@ ngc = "nix-collect-garbage --delete-older-than 30d";
sngc = "sudo nix-collect-garbage --delete-older-than 30d"; }; - envExtra = '' + # Put this in /etc/paths.d/ on Darwin instead + envExtra = lib.optionalString (!stdenv.isDarwin) '' if [[ ''${path[(I)$HOME/.local/bin ]} ]] then path=($HOME/.local/bin $path)