Skip to content

Fix regression on SSH remotes not running NuShell - #39994

Closed
GustavoWidman wants to merge 1 commit into
zed-industries:mainfrom
GustavoWidman:nu-remote-fix
Closed

Fix regression on SSH remotes not running NuShell#39994
GustavoWidman wants to merge 1 commit into
zed-industries:mainfrom
GustavoWidman:nu-remote-fix

Conversation

@GustavoWidman

@GustavoWidman GustavoWidman commented Oct 11, 2025

Copy link
Copy Markdown

This was already patched and merged a few months ago in #25613, which fixed the original issue (#21005) but there seems to have been a regression of sorts, maybe when migrating/refactoring something.

NuShell does not support uname -sm, so invoke sh -c "uname -sm" instead which will also work under nushell. See nushell/nushell#12570 for the choice quote: "being posix/bash compliant is a non-goal".

Release Notes:

  • Fixed ssh remotes running Nushell (yet again)

@cla-bot

cla-bot Bot commented Oct 11, 2025

Copy link
Copy Markdown

We require contributors to sign our Contributor License Agreement, and we don't have @GustavoWidman 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'.

@GustavoWidman

Copy link
Copy Markdown
Author

@cla-bot check

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Oct 11, 2025
@cla-bot

cla-bot Bot commented Oct 11, 2025

Copy link
Copy Markdown

The cla-bot has been summoned, and re-checked this pull request!

NuShell does not support `uname -sm`, so invoke
`sh -c "uname -sm"` instead which will also work
under nushell. See nushell/nushell#12570 for the
choice quote: "being posix/bash compliant is a
non-goal".

This was already patched and merged a few months ago
in #25613, which fixed the original issue (#21005)
but there seems to have been a regression of sorts,
maybe when migrating/refactoring something.
@maxdeviant maxdeviant changed the title fix: regression on SSH remotes not running NuShell Fix regression on SSH remotes not running NuShell Oct 11, 2025
@Veykril Veykril self-assigned this Oct 11, 2025
Veykril added a commit that referenced this pull request Oct 14, 2025
Closes #39994

Release Notes:

- Fixed remoting not working when nushell is set as the default shell on
the remote target
reflectronic pushed a commit that referenced this pull request Oct 14, 2025
Closes #39994

Release Notes:

- Fixed remoting not working when nushell is set as the default shell on
the remote target
jasonsmithio pushed a commit to paddleboarddev/paddleboard that referenced this pull request May 31, 2026
Closes zed-industries/zed#39994

Release Notes:

- Fixed remoting not working when nushell is set as the default shell on
the remote target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants