# Theme selection. Sourced by the stub BEFORE oh-my-zsh, and that placement is # the point of the file. # # oh-my-zsh loads the theme while it is being sourced, so ZSH_THEME set # afterwards is ignored - the first attempt put it in the role file and produced # a shell reporting the right value while running without powerlevel10k at all. # # The role COLOUR is deliberately not here. ~/.p10k.zsh sets # POWERLEVEL9K_CONTEXT_BACKGROUND itself and is sourced later, so a colour set # here is overwritten before the first prompt is ever drawn. It lives in the # role files, which come after. if [[ -d "${ZSH_CUSTOM:-$ZSH/custom}/themes/powerlevel10k" ]]; then ZSH_THEME="powerlevel10k/powerlevel10k" fi