Skip to content

fix: Inherit the login shell variable from the user session - #16

Merged
eureka-cpu merged 6 commits into
masterfrom
eureka-cpu/user-shell
Mar 5, 2026
Merged

fix: Inherit the login shell variable from the user session#16
eureka-cpu merged 6 commits into
masterfrom
eureka-cpu/user-shell

Conversation

@eureka-cpu

Copy link
Copy Markdown
Owner

Closes #15

This fixes the issue where the subshell's SHELL environment variable changes once already in a nix-shell by always getting the user's preferred shell from their UID.

@eureka-cpu eureka-cpu self-assigned this Mar 5, 2026
@eureka-cpu eureka-cpu added the bug Something isn't working label Mar 5, 2026
@eureka-cpu
eureka-cpu marked this pull request as draft March 5, 2026 23:02
@eureka-cpu
eureka-cpu marked this pull request as ready for review March 5, 2026 23:02
@eureka-cpu
eureka-cpu merged commit 765bac9 into master Mar 5, 2026
4 checks passed
@eureka-cpu
eureka-cpu deleted the eureka-cpu/user-shell branch March 5, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: SHELL is not inherited by the subshell

1 participant