Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

users: use launchctl managername to determine session type #1320

Merged
merged 2 commits into from
Feb 8, 2025

Conversation

emilazy
Copy link
Collaborator

@emilazy emilazy commented Feb 3, 2025

See commit messages for details.

@emilazy emilazy requested a review from Enzime February 3, 2025 21:54
Seems like this should be more robust, and it will work even
after the activation script purifies its environment. Apparently
it may treat `tmux` sessions like SSH ones, which may have
something to do with `reattach-to-user-namespace`/`pam_reattach`; see
<ChrisJohnsen/tmux-MacOSX-pasteboard#78 (comment)>.
(My hope is that `pam_reattach` does the right thing here, but I
haven’t tested.)
@emilazy emilazy changed the title users: remove sudo invocations, use launchctl managername to determine session type users: use launchctl managername to determine session type Feb 7, 2025
@Enzime Enzime merged commit 30b6672 into LnL7:master Feb 8, 2025
3 checks passed
@emilazy emilazy deleted the push-vykszlnztmtt branch February 14, 2025 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants