aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-06-01 23:54:32 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-06-01 23:54:32 +0300
commit5e72d3ca80ef05b8078850992f6c6680a39c5a6e (patch)
tree6b41176bdf498c6b8d1668b08cb32d0367c15602 /internal
parent99bc7f3c7fa54c0eb458537740bbda231c6cf869 (diff)
move source guard to the outer script
Diffstat (limited to 'internal')
-rwxr-xr-xinternal/p10k.zsh7
1 files changed, 0 insertions, 7 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 6f97e4cf..eef6da58 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -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"