When I load zsh, my theme will not work and I get ".zshrc:92: command not found: print_icon" #695
Comments
How do I fix it? When I run locale, it prints |
It's possible your |
Sadly, that did not fix it. Here is my zshrc file: https://pastebin.com/VKJLPxkq |
How do I fix this? Thanks |
@Apple61752 - Check out the link that @iScrE4m posted. There is a comment that describes how to fix it: #543 (comment) You are making calls to |
Hey @Apple61752 - We haven't heard back from you, so I'm going to go ahead and close this. If you are still having issues, feel free to re-open! |
what is OMZ @bhilburn |
Hi! This is a wonderful theme. Great work. I didn't have any issue using the theme but I get this error when I activate a python virtual environment using pipenv shell. |
@mrdionjr On which branch/version of P9K are you? And can you show us your configuration? |
I guess the latest version! I've just followed the instructions on the README. I use Oh My Zsh. I left most of the default settings. Here is my configuration ZSH_THEME="powerlevel9k/powerlevel9k" POWERLEVEL9K_MODE="awesome-patched" POWERLEVEL9K_PROMPT_ON_NEWLINE=true POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon user dir dir_writable vcs) POWERLEVEL9K_SHORTEN_DIR_LENGTH=2 |
I just noticed that it happens everytime I enter in a subshell. I tried to record the terminal session using termtosvg it I got the same error. |
@mrdionjr Thanks for the Screenshot. Your problem is already adressed in #587 and will be fixed soon. For now you can set a valid utf-8 locale as |
It's already set. Here is the output of locale: locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_US.UTF-8 LC_CTYPE=en_GB.UTF-8 LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE=en_GB.UTF-8 LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= |
I've solved the issue by exporting LANG and LC_ALL: export LANG=en_GB.UTF-8 export LC_ALL="" I think it was due to LANG being overwritten somewhere. Thanks for your support. |
When I load zsh, my powerlevel9k custom theme will not work and I get ".zshrc:92: command not found: print_icon"
The text was updated successfully, but these errors were encountered: