powerlevel10k: Encountering an error trying to load powerlevel10k with oh-my-zsh
Hi, I’m using oh-my-zsh, and I can’t get this to work.
This is the error I’m getting:
~/.oh-my-zsh/custom/themes/powerlevel10k/powerlevel10k.zsh-theme:77: unknown condition: -v
I’ve tried to both add the source ~/.oh-my-zsh/custom/themes/powerlevel10k/powerlevel10k.zsh-theme, as well as doing it the oh-my-zsh way of setting ZSH_THEME="powerlevel10k/powerlevel10k". Both are giving me the same error.
Any help would be appreciated, looking forward to trying this!
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 22 (11 by maintainers)
Commits related to this issue
- survive broken FPATH (#10 — committed to romkatv/powerlevel10k by romkatv 2 years ago
For anyone seeing this error in the future:
Rather than starting a new session by typing
zsh, I had to completely exit my terminal session and then it worked.