The installation path of powerlevel9k is now configurable by setting the variable POWERLEVEL9K_INSTALLATION_PATH. The value must be set to the exact location of the powerlevel9k.zsh-theme file (including the file name).

This has only effect if you load your theme as a function and your ZSH version is below 5.0.8.
pull/22/head
Dominik Ritter 9 years ago
parent 0aaf999857
commit a0323b7e80

@ -26,7 +26,9 @@ if [[ $(whence -w prompt_powerlevel9k_setup) =~ "function" ]]; then
else
# Script is a function! We assume this to happen only in
# prezto, as they use the zstyle-builtin to set the theme.
0="${ZDOTDIR:-$HOME}/.zprezto/modules/prompt/functions/prompt_powerlevel9k_setup"
[[ -z "$POWERLEVEL9K_INSTALLATION_PATH" ]] && POWERLEVEL9K_INSTALLATION_PATH="${ZDOTDIR:-$HOME}/.zprezto/modules/prompt/functions/prompt_powerlevel9k_setup"
0=$POWERLEVEL9K_INSTALLATION_PATH
fi
fi

Loading…
Cancel
Save