Skip to content

Conversation

@ehdevries
Copy link
Contributor

Previously, panache-git included a prompt indicator (> ) out of the box, and the advice for the user was to remove Nushell's own configurable prompt indicator by setting it to the empty string.

However, this conflicted with some of Nushell's intended functionality, such as the ability to use a different prompt indicator in each vi mode.

With this change, panache-git does not include a prompt indicator. The advice is for the user to use the prompt indicator they like, but to reset the color so it better matches panache-git's colors.

This is something of a breaking change, in that users who update to the latest panache-git.nu without making corresponding changes to their Nushell config might see two prompt indicators (> > ), but my hope is that giving users (especially vi mode users) more flexibility with their prompt indicators will be worth any temporary confusion.

Previously, panache-git included a prompt indicator (`> `)
out of the box, and the advice for the user was to remove Nushell's
own configurable prompt indicator by setting it to the empty string.

However, this conflicted with some of Nushell's intended functionality,
such as the ability to use a different prompt indicator in each vi mode.

With this change, panache-git does not include a prompt indicator.
The advice is for the user to use the prompt indicator they like,
but to reset the color so it better matches panache-git's colors.

This is something of a breaking change, in that users who update
to the latest panache-git.nu without making corresponding changes
to their Nushell config might see two prompt indicators (`> > `),
but my hope is that giving users (especially vi mode users)
more flexibility with their prompt indicators will be worth
any temporary confusion.
@fdncred
Copy link
Contributor

fdncred commented Jan 6, 2025

Agreed. Nice catch. Thanks

@fdncred fdncred merged commit 977ffa6 into nushell:main Jan 6, 2025
1 check passed
@ehdevries ehdevries deleted the panache-git-prompt-indicator branch January 6, 2025 16:08
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.

2 participants