Package
nu
Current behavior
The manifest installs Nushell and creates a helper for registering bundled plugins, but Windows Terminal does not discover Nushell automatically. Users must create and maintain a profile themselves.
Proposed change
Have post_install generate an opt-in PowerShell helper alongside nu.exe, following the existing core-plugin helper pattern. Running the helper would:
- add or update a Nushell profile as a per-user Windows Terminal JSON fragment;
- write the fragment under
%LOCALAPPDATA%\Microsoft\Windows Terminal\Fragments\Nushell using UTF-8;
- point the profile at the stable Scoop
nu.exe shim rather than a versioned install directory;
- support removing the generated fragment;
- leave Windows Terminal's
settings.json untouched.
The manifest's notes would show the command to run. Installation and upgrades would not alter Terminal configuration unless the user explicitly invokes the helper. Re-running it would update the same fragment rather than create duplicates.
Windows Terminal documents JSON fragments as the supported installer integration for applications installed from the web:
https://learn.microsoft.com/windows/terminal/json-fragment-extensions
Would this opt-in helper be acceptable in Main? If approved, I can prepare and test the manifest change on stable, preview, and unpackaged Windows Terminal installations where available.
Package
nuCurrent behavior
The manifest installs Nushell and creates a helper for registering bundled plugins, but Windows Terminal does not discover Nushell automatically. Users must create and maintain a profile themselves.
Proposed change
Have
post_installgenerate an opt-in PowerShell helper alongsidenu.exe, following the existing core-plugin helper pattern. Running the helper would:%LOCALAPPDATA%\Microsoft\Windows Terminal\Fragments\Nushellusing UTF-8;nu.exeshim rather than a versioned install directory;settings.jsonuntouched.The manifest's
noteswould show the command to run. Installation and upgrades would not alter Terminal configuration unless the user explicitly invokes the helper. Re-running it would update the same fragment rather than create duplicates.Windows Terminal documents JSON fragments as the supported installer integration for applications installed from the web:
https://learn.microsoft.com/windows/terminal/json-fragment-extensions
Would this opt-in helper be acceptable in Main? If approved, I can prepare and test the manifest change on stable, preview, and unpackaged Windows Terminal installations where available.