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

Make remote terminal open as a login shell #151

Merged
merged 3 commits into from
Mar 14, 2024

Conversation

human9
Copy link
Contributor

@human9 human9 commented Mar 14, 2024

The --login/-l flag signals that this is a login shell.

Currently without this flag environment files like .profile or /etc/profile are not sourced, which is unexpected when opening a new terminal.

@human9
Copy link
Contributor Author

human9 commented Mar 14, 2024

I think that's the most portable option, even if it isn't POSIX. Works with every shell I know of.

I can't figure out another way, anyway.

@lvxnull lvxnull merged commit 5b270e4 into Stunkymonkey:master Mar 14, 2024
7 checks passed
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.

1 participant