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

Replace asdf prompt plugin names with icons #2643

Open
matthewadams opened this issue Apr 15, 2024 · 1 comment
Open

Replace asdf prompt plugin names with icons #2643

matthewadams opened this issue Apr 15, 2024 · 1 comment

Comments

@matthewadams
Copy link

I'm noticing that the asdf prompt takes up a lot of real estate. If possible, can you replace plugin names with, say, favicon.ico images or emoji-like glyphs? Like, spring-boot could be replaced with image, kotlin with image, java with image, etc., scaling these to appropriate sizes.

Only if one wasn't known would you render the word.

@romkatv
Copy link
Owner

romkatv commented Apr 15, 2024

This is already being done to some extent if you have a capable font. In any case, you can customize these icons by editing ~/.p10k.zsh. E.g., to customize the java icon, uncomment this line and set its value to the desired icon:

# typeset -g POWERLEVEL9K_ASDF_JAVA_VISUAL_IDENTIFIER_EXPANSION='⭐'

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

No branches or pull requests

2 participants