move source guard to the outer script
This commit is contained in:
parent
99bc7f3c7f
commit
5e72d3ca80
2 changed files with 35 additions and 30 deletions
|
@ -27,13 +27,6 @@ if ! autoload -U is-at-least || ! is-at-least 5.1; then
|
|||
return 1
|
||||
fi
|
||||
|
||||
if (( $+_P9K_SOURCED )); then
|
||||
prompt_powerlevel9k_setup
|
||||
return
|
||||
fi
|
||||
|
||||
readonly _P9K_SOURCED=1
|
||||
|
||||
source "${_p9k_installation_dir}/functions/utilities.zsh"
|
||||
source "${_p9k_installation_dir}/functions/icons.zsh"
|
||||
source "${_p9k_installation_dir}/functions/colors.zsh"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue