mirror of
https://github.com/NixOS/nix.git
synced 2025-04-15 13:47:34 +00:00
nix-profile.fish: Add local state dir bin to $PATH
It seems reasonable to add both `$HOME/.profile/bin` and `@localstatedir@/nix/profiles/default/bin` to `$PATH` for both user local and daemon based nix execution. Nix daemon execution mode does not affect these path.
This commit is contained in:
parent
d2425c5d6a
commit
c09b6da69f
@ -62,6 +62,7 @@ if set --query MANPATH
|
||||
set --export --prepend --path MANPATH "$NIX_LINK/share/man"
|
||||
end
|
||||
|
||||
add_path "@localstatedir@/nix/profiles/default/bin"
|
||||
add_path "$NIX_LINK/bin"
|
||||
|
||||
# Cleanup
|
||||
|
Loading…
Reference in New Issue
Block a user