Skip to content

Commit 6fe0545

Browse files
authored
Merge pull request #13041 from ilya-bobyr/fish-profile-do-not-test-USER
nix-profile.fish: Do not check $USER
2 parents b509502 + 66ae8f4 commit 6fe0545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/nix-profile.fish.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Only execute this file once per shell.
2-
if test -z "$HOME" || test -z "$USER" || \
2+
if test -z "$HOME" || \
33
test -n "$__ETC_PROFILE_NIX_SOURCED"
44
exit
55
end

0 commit comments

Comments
 (0)