Skip to content
Discussion options

You must be logged in to vote

Just copying the .p10k.zsh file won't work on its own. Here's the proper installation:

  1. Clone Powerlevel10k into your Oh My Zsh themes directory:
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
  1. Set the theme in your ~/.zshrc:
ZSH_THEME="powerlevel10k/powerlevel10k"
  1. Source the .p10k.zsh config at the end of your ~/.zshrc:
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
  1. Reload your shell:
source ~/.zshrc

Now your .p10k.zsh configuration will actually be used. The key is that you need both the theme installed in the Oh My Zsh themes directory AND the config file sourced in your .zshrc.

If you want to reconfigure…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by luxonauta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants