Solvedpowerlevel9k os_icon shows os as text

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:

screen shot 2017-03-11 at 19 59 01

What am I missing?

13 Answers

✔️Accepted Answer

So, POWERLEVEL9K_MODE='awesome-patched' stands before you source oh-my-zsh, right?
If so, have you restarted zsh?

Other Answers:

Put this in your configuration:

OS_ICON=$(print_icon 'LINUX_ICON')

or define your own:

OS_ICON='\uE271' # or '\uF17C'

More Issues: