powerlevel10k icon indicating copy to clipboard operation
powerlevel10k copied to clipboard

Replace asdf prompt plugin names with icons

Open matthewadams opened this issue 1 year ago • 1 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.

matthewadams avatar Apr 15 '24 14:04 matthewadams

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: https://github.com/romkatv/powerlevel10k/blob/178fcda3487afb3bd540d784cf472c60ec0de94a/config/p10k-lean.zsh#L671

romkatv avatar Apr 15 '24 18:04 romkatv