Skip to content

Preserve Nushell file completion when fish is not installed - #3273

Closed
voidzero-bot[bot] wants to merge 1 commit into
mainfrom
triagebot/fix-3272
Closed

voidzero-bot[bot] wants to merge 1 commit into
mainfrom
triagebot/fix-3272

Conversation

@voidzero-bot

@voidzero-bot voidzero-bot Bot commented Oct 29, 2026

Copy link
Copy Markdown

The Nushell env.nu generated by vp env setup delegates vp/vpr completions to Fish. If Fish is not on PATH, the completer fails. Nushell 0.116 now treats a failing parameter completer as having no suggestions, so pressing Tab after vp shows nothing instead of falling back to the default file completion.

Add a guard that checks for a usable fish binary and returns null when it is missing. Returning null lets Nushel

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://triagebot-fix-3272-viteplus-dev.voidzero-docs.workers.dev (commit cea3212)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://3d00e106-viteplus-dev.voidzero-docs.workers.dev cea3212 2026-10-29T10:14:30.787Z Visit the dashboard ↗

@github-actions

Copy link
Copy Markdown
Contributor

CLI artifact sizes (cea3212)

Final release artifacts built by the canonical build-upstream and build-windows-cli actions.
The dist rows use the Linux build. The core total excludes .node files to match the release artifact.

Artifact Format Base PR Change
packages/cli/dist Directory total 2.26 MiB 2.26 MiB 0 B (0.00%)
packages/core/dist Directory total 4.07 MiB 4.07 MiB 0 B (0.00%)
Combined package dist Directory total 6.34 MiB 6.34 MiB 0 B (0.00%)
vp (Linux x64) Binary 8.27 MiB 8.27 MiB 0 B (0.00%)
vp (Linux x64) gzip -9 3.78 MiB 3.78 MiB +129 B (+0.00%)
NAPI (Linux x64) Binary 35.53 MiB 35.53 MiB 0 B (0.00%)
NAPI (Linux x64) gzip -9 14.15 MiB 14.15 MiB 0 B (0.00%)
vp (macOS ARM64) Binary 5.39 MiB 5.39 MiB 0 B (0.00%)
vp (macOS ARM64) gzip -9 3.21 MiB 3.21 MiB +87 B (+0.00%)
NAPI (macOS ARM64) Binary 42.30 MiB 42.30 MiB 0 B (0.00%)
NAPI (macOS ARM64) gzip -9 18.28 MiB 18.28 MiB 0 B (0.00%)
vp (Windows x64) Binary 6.12 MiB 6.12 MiB 0 B (0.00%)
vp (Windows x64) gzip -9 2.83 MiB 2.83 MiB +22 B (+0.00%)
NAPI (Windows x64) Binary 31.55 MiB 31.55 MiB 0 B (0.00%)
NAPI (Windows x64) gzip -9 12.85 MiB 12.85 MiB -1 B (-0.00%)
Trampoline (Windows x64) Binary 13.50 KiB 13.50 KiB 0 B (0.00%)
Trampoline (Windows x64) gzip -9 7.09 KiB 7.09 KiB -1 B (-0.01%)
Installer (Windows x64) Binary 4.68 MiB 4.68 MiB 0 B (0.00%)
Installer (Windows x64) gzip -9 2.24 MiB 2.24 MiB -1 B (-0.00%)

@naokihaba naokihaba removed their assignment Oct 29, 2026
@naokihaba

Copy link
Copy Markdown
Collaborator

I have a replacement for this PR with a behavior test. It depends on #3267, so I will open it after #3267 merges. See #3272 (comment) for details.

@fengmk2 fengmk2 closed this Oct 29, 2026
@fengmk2

fengmk2 commented Oct 29, 2026

Copy link
Copy Markdown
Member

@naokihaba I’ll close this PR for now. The newly added issue diagnostic assistant automatically submits PRs, and I’ll close any unreasonable ones first.

@voidzero-bot
voidzero-bot Bot deleted the triagebot/fix-3272 branch October 30, 2026 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants