Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't output default theme info to piped stdout #3075

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

einfachIrgendwer0815
Copy link
Contributor

#2937 introduced the (default) suffix to the output of --list-themes, which breaks completion scripts. This PR tries to solve that by not printing the (default) suffix when stdout is piped.

Fixes #3073.

Copy link
Collaborator

@keith-hall keith-hall left a comment

Choose a reason for hiding this comment

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

Thanks, looks good to me 🙂

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.

Shell auto-completion for --theme list the default theme incorrectly
2 participants