diff --git a/.zshrc b/.zshrc index 4bdc3cc..0a66fb2 100644 --- a/.zshrc +++ b/.zshrc @@ -69,9 +69,11 @@ ${SKIP_PLUGINS:-false} || { # prompt zinit load "romkatv/powerlevel10k" - careful_source "$P10K_CONFIG_LOCATION" \ - "No p10k theme selected. Please use \`p10k configure\` to make one or select an existing one like this: - ln -s $SHELL_CONFIG_DIR/p10k/colorful-angular.p10k.zsh $SHELL_CONFIG_DIR/p10k/current" $LINENO + "${SKIP_P10K_THEME:-false}" || careful_source "$P10K_CONFIG_LOCATION" \ +"No p10k theme selected. Please use \`p10k configure\` to make one or select an existing one like this: + ln -s $SHELL_CONFIG_DIR/p10k/colorful-angular.p10k.zsh $SHELL_CONFIG_DIR/p10k/current + +Set the SKIP_P10K_THEME environment variable to 'true' or make a configuration to disable this warning" $LINENO # clear plugin options set at the start of this block