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

Feature - Command to show all prompt styles #513

Open
christophrumpel opened this issue Nov 15, 2019 · 3 comments
Open

Feature - Command to show all prompt styles #513

christophrumpel opened this issue Nov 15, 2019 · 3 comments

Comments

@christophrumpel
Copy link

Hey,

thanks for this great theme.
I'm right now testing colors and fonts to customize it to my needs.
It would be super handy to have a command that outputs all the different prompt styles. (clean git, dirty git, up arrow, down arrow, time etc.)

This way it would be much easier to test out color themes and fonts for your terminal.

@sindresorhus
Copy link
Owner

Good idea! PR welcome :)

@christophrumpel
Copy link
Author

I tried it for a few minutes but failed :-) I would need to take a closer look. Maybe I find some more time.

Different thought: Do you think it would be possible to create a command/script which is theme agnostic? Which works with every shell theme? Probably difficult to find the correct values to show though

@mafredri
Copy link
Collaborator

Here's a little hint 😄.

for k v in ${(@kv)prompt_pure_colors}; do
	print "$k: $v"
done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants