|
|
@ -20,11 +20,10 @@
|
|
|
|
#zstyle ':vcs_info:*+*:*' debug true
|
|
|
|
#zstyle ':vcs_info:*+*:*' debug true
|
|
|
|
#set -o xtrace
|
|
|
|
#set -o xtrace
|
|
|
|
|
|
|
|
|
|
|
|
test -n "$ZSH_VERSION" || exit 1
|
|
|
|
if test -z "${ZSH_VERSION}"; then
|
|
|
|
|
|
|
|
echo "powerlevel10k: unsupported shell; try zsh instead" >&2
|
|
|
|
if [[ -v _P9K_SOURCED ]]; then
|
|
|
|
return 1
|
|
|
|
prompt_powerlevel9k_setup "$@"
|
|
|
|
exit 1
|
|
|
|
return
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if ! autoload -U is-at-least || ! is-at-least 5.2; then
|
|
|
|
if ! autoload -U is-at-least || ! is-at-least 5.2; then
|
|
|
@ -56,6 +55,11 @@ if ! autoload -U is-at-least || ! is-at-least 5.2; then
|
|
|
|
return 1
|
|
|
|
return 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [[ -v _P9K_SOURCED ]]; then
|
|
|
|
|
|
|
|
prompt_powerlevel9k_setup "$@"
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
readonly _P9K_SOURCED=1
|
|
|
|
readonly _P9K_SOURCED=1
|
|
|
|
|
|
|
|
|
|
|
|
typeset -g _P9K_INSTALLATION_DIR
|
|
|
|
typeset -g _P9K_INSTALLATION_DIR
|
|
|
|