-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Remote: Change "sh -c" to "sh -lc" to make config in $HOME/.profile effective #36760
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
Remote: Change "sh -c" to "sh -lc" to make config in $HOME/.profile effective #36760
Conversation
|
We require contributors to sign our Contributor License Agreement, and we don't have @iryanin on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'. |
1 similar comment
|
We require contributors to sign our Contributor License Agreement, and we don't have @iryanin on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'. |
|
The cla-bot has been summoned, and re-checked this pull request! |
|
@cla-bot check |
|
The cla-bot has been summoned, and re-checked this pull request! |
|
Thanks! Looks like ssh does not run a login shell when a command is passed |
|
FYI, we ended up reverting this here: #37417 |
…ffective (zed-industries#36760) Closes #ISSUE Release Notes: - The environment of original remote dev cannot be changed without sudo because of the behavior of "sh -c". This PR changes "sh -c" to "sh -lc" to let the shell source $HOME/.profile and support customized environment like customized $PATH variable.
…ed-industries#37417) This reverts commit bf5ed6d. We believe this may be breaking some users whose shell initialization scripts change the working directory. Release Notes: - N/A
…ffective (zed-industries#36760) Closes #ISSUE Release Notes: - The environment of original remote dev cannot be changed without sudo because of the behavior of "sh -c". This PR changes "sh -c" to "sh -lc" to let the shell source $HOME/.profile and support customized environment like customized $PATH variable.
Closes #ISSUE
Release Notes: