nushell / nushell/nushell

Messages during completion

Open
#11,467 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

category:enhancement status:needs-triage
Dominant language
Rust
Stars
40.5k
Forks
2.3k
Avg merge
1d 19h
Merged PRs (30d)
85

Description

Related problem

carapace has support for error and usage messages during completion.

In zsh and elvish these can be shown separate from the values.
In other shells the error messages are integrated as values in the format ERR{n} with the message as description.

Nushell has error, but it aborts the completion.

error make --unspanned {msg: "this is fishy"}
Describe the solution you'd like

Provide a way to show error and usage messages during completion.

Describe alternatives you've considered

No response

Additional context and details

image

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no source files or tests. Start by locating Nushell's completion implementation and existing error handling, then compare the linked carapace behavior and Nushell error documentation; done means error and usage messages can appear during completion without aborting it.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.