summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/p10k-classic.zsh4
-rw-r--r--config/p10k-lean.zsh4
2 files changed, 8 insertions, 0 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh
index f32a667e..143c31ab 100644
--- a/config/p10k-classic.zsh
+++ b/config/p10k-classic.zsh
@@ -24,6 +24,10 @@ fi
emulate -L zsh
setopt no_unset
+ # Unset all configuration options. This allows you to apply configiguration changes without
+ # restarting zsh. Edit ~/.p10k.zsh and type `source ~/.p10k.zsh`.
+ unset -m 'POWERLEVEL9K_*'
+
# The list of segments shown on the left. Fill it with the most important segments.
typeset -ga POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
# =========================[ Line #1 ]=========================
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index cb2b7e76..3b95c911 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -25,6 +25,10 @@ fi
emulate -L zsh
setopt no_unset
+ # Unset all configuration options. This allows you to apply configiguration changes without
+ # restarting zsh. Edit ~/.p10k.zsh and type `source ~/.p10k.zsh`.
+ unset -m 'POWERLEVEL9K_*'
+
# The list of segments shown on the left. Fill it with the most important segments.
typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
# =========================[ Line #1 ]=========================