Skip to content

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

Merged
keith-hall merged 3 commits intosharkdp:masterfrom
einfachIrgendwer0815:fix/3073_list_themes
Oct 6, 2024
Merged

Don't output default theme info to piped stdout#3075
keith-hall merged 3 commits intosharkdp:masterfrom
einfachIrgendwer0815:fix/3073_list_themes

Conversation

@einfachIrgendwer0815
Copy link
Copy Markdown
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
Copy Markdown
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 🙂

@keith-hall keith-hall enabled auto-merge September 7, 2024 09:23
@einfachIrgendwer0815
Copy link
Copy Markdown
Contributor Author

@keith-hall This will not auto-merge because of the failing changelog check.

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