Skip to content

fix: update nushell completion code so it works on latest version of nushell - #2275

Merged
Stratus3D merged 2 commits into
asdf-vm:masterfrom
kuchta:master
May 6, 2026
Merged

fix: update nushell completion code so it works on latest version of nushell#2275
Stratus3D merged 2 commits into
asdf-vm:masterfrom
kuchta:master

Conversation

@kuchta

@kuchta kuchta commented May 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes: Completions and docs for nushell

Other Information

@kuchta
kuchta requested a review from a team as a code owner May 5, 2026 10:26
@Stratus3D
Stratus3D requested a review from Copilot May 5, 2026 12:44
@Stratus3D Stratus3D changed the title Fix asdf completions fix: update nushell completion code to work with latest version of nushell May 5, 2026
@Stratus3D Stratus3D changed the title fix: update nushell completion code to work with latest version of nushell fix: update nushell completion code to work on latest version of nushell May 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Nushell completion support by adjusting the shipped Nushell completion module export and updating the getting-started documentation snippet for loading Nushell completions.

Changes:

  • Export the asdf Nushell module contents from the completion file via export use asdf *.
  • Update Nushell docs to use source when loading the generated nushell.nu completions file.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
internal/completions/asdf.nushell Re-exports the asdf module’s exported commands for Nushell completion consumers.
docs/guide/getting-started.md Updates Nushell setup instructions to use source for loading the completions file.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/guide/getting-started.md
Comment on lines 298 to 301
}
)
. "$asdf_data_dir/completions/nushell.nu"
source "$asdf_data_dir/completions/nushell.nu"
```

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kuchta can you update the other references copilot found?

@Stratus3D Stratus3D left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @kuchta ! I think these changes are good, would you be able to update the code snippet on the getting-started.md page in other languages?

@kuchta

kuchta commented May 5, 2026

Copy link
Copy Markdown
Contributor Author

You're welcome @Stratus3D. The docs should now be updated for the other two languages

@Stratus3D
Stratus3D requested a review from Copilot May 6, 2026 00:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Stratus3D Stratus3D changed the title fix: update nushell completion code to work on latest version of nushell fix: update nushell completion code so it works on latest version of nushell May 6, 2026
@Stratus3D
Stratus3D merged commit 51ebfb4 into asdf-vm:master May 6, 2026
12 checks passed
@Stratus3D Stratus3D mentioned this pull request May 6, 2026
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.

3 participants