romkatv / powerlevel10k

A Zsh theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace asdf prompt plugin names with icons

matthewadams opened this issue · comments

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.

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='⭐'