zsh: add option to disable sourcing P10K theme
This commit is contained in:
parent
72a25f4af3
commit
35db2c6337
1 changed files with 5 additions and 3 deletions
8
.zshrc
8
.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
|
||||
|
|
Loading…
Add table
Reference in a new issue