From 02ff42da62ec01c59a098b5f75c491a918124722 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Wed, 13 Mar 2024 21:07:49 +0800 Subject: [PATCH] fixup! darwin/core: simplify fish shell $PATH workaround --- darwin/profiles/common/core/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/darwin/profiles/common/core/default.nix b/darwin/profiles/common/core/default.nix index 4b0def5..0bf5754 100644 --- a/darwin/profiles/common/core/default.nix +++ b/darwin/profiles/common/core/default.nix @@ -44,7 +44,7 @@ programs.fish.loginShellInit = let # Double quotes instead of single quotes are necessary # ["$HOME/.local" "/usr/local"] -> "\"$HOME/.local/bin' '/usr/local/bin\"" - makePath = path: lib.concatMapStringsSep " " (path: "\"${path}/bin\"") path; + makePath = path: lib.concatMapStringsSep " " (path: "\"${path}/bin\"") path; in '' fish_add_path --move --prepend --path ${makePath config.environment.profiles} set fish_user_paths $fish_user_paths