mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
Merge pull request #7105 from SquidDev/hotfix/fish-return
Use exit instead of return in /etc/profile.d/nix-daemon.fish
This commit is contained in:
commit
050fcd391b
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Only execute this file once per shell.
|
# Only execute this file once per shell.
|
||||||
if test -n "$__ETC_PROFILE_NIX_SOURCED"
|
if test -n "$__ETC_PROFILE_NIX_SOURCED"
|
||||||
return
|
exit
|
||||||
end
|
end
|
||||||
|
|
||||||
set __ETC_PROFILE_NIX_SOURCED 1
|
set __ETC_PROFILE_NIX_SOURCED 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue