fixup! darwin/core: simplify fish shell $PATH workaround
This commit is contained in:
parent
107d7b8ea3
commit
02ff42da62
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue