-
Notifications
You must be signed in to change notification settings - Fork 937
os_icon shows os as text #432
Comments
So, |
@dritter Hm, no it did not! After I moved it above that line it works! Thank you very much! |
Same problem here. @dritter By |
@tanmay-das Yes, sourcing |
@dritter What should I do in that case? |
Here is my
|
@tanmay-das Your source order looks correct. I think I know what your Problem is. In You of course can change the icon if you want by setting the correct variable (See |
@dritter You're correct. I am using Linux and I recently installed Powerlevel9k. How do I get my good old tux icon back instead of the three letters without having to install |
Put this in your configuration: OS_ICON=$(print_icon 'LINUX_ICON') or define your own: OS_ICON='\uE271' # or '\uF17C' |
@onaforeignshore Unfortunately that didn't work. It gives me command print_icon not found if I add the first statement, and nothing shows up (except three letter abbr.) if I add the second statement. |
@tanmay-das Try setting You need to replace "DEBIAN" with the name of your Linux distribution. Enter And you should source your font files (the last line in your config) before that line. |
thank you very much !it's very helpful! |
I'm trying to display the os_icon on the prompt. However it only displays the text "OSX" instead of the Apple logo.
I'm using powerlevel9k for oh-my-zsh.
Here is the relevant info from my ~/.zshrc:
ZSH_THEME="powerlevel9k/powerlevel9k"
POWERLEVEL9K_MODE='awesome-patched'
POWERLEVEL9K_HOME_ICON=''
POWERLEVEL9K_HOME_SUB_ICON=''
POWERLEVEL9K_FOLDER_ICON=''
DISABLE_AUTO_TITLE="true"
POWERLEVEL9K_VCS_GIT_ICON=''
POWERLEVEL9K_VCS_STAGED_ICON='\u00b1'
POWERLEVEL9K_VCS_UNTRACKED_ICON='\u25CF'
POWERLEVEL9K_VCS_UNSTAGED_ICON='\u00b1'
POWERLEVEL9K_VCS_INCOMING_CHANGES_ICON='\u2193'
POWERLEVEL9K_VCS_OUTGOING_CHANGES_ICON='\u2191'
POWERLEVEL9K_VCS_MODIFIED_BACKGROUND='yellow'
POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND='yellow'
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(status os_icon context dir vcs)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(background_jobs virtualenv rbenv rvm time)
POWERLEVEL9K_SHORTEN_STRATEGY="truncate_middle"
POWERLEVEL9K_SHORTEN_DIR_LENGTH=4
POWERLEVEL9K_TIME_FORMAT="%D{%H:%M \uE868 %d.%m.%y}"
POWERLEVEL9K_STATUS_VERBOSE=false
export DEFAULT_USER="$USER"
Here's how my prompt look:
What am I missing?
The text was updated successfully, but these errors were encountered: