``` From 1820c96dea7b965038e2a435e3063fdab3400993 Mon Sep 17 00:00:00 2001 From: Emily Date: Tue, 27 Oct 2020 22:24:51 +0000 Subject: [PATCH] Don't run path_helper under nix-darwin --- share/config.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/config.fish b/share/config.fish index 6157c7c1c..8b57013c8 100644 --- a/share/config.fish +++ b/share/config.fish @@ -203,7 +203,7 @@ end # Some things should only be done for login terminals # This used to be in etc/config.fish - keep it here to keep the semantics # -if status --is-login +if status --is-login && not set -q __NIX_DARWIN_SET_ENVIRONMENT_DONE if command -sq /usr/libexec/path_helper # Adapt construct_path from the macOS /usr/libexec/path_helper # executable for fish; see -- 2.28.0 ```