aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-robbyrussell.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'config/p10k-robbyrussell.zsh')
-rw-r--r--config/p10k-robbyrussell.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/p10k-robbyrussell.zsh b/config/p10k-robbyrussell.zsh
index 5e0f8958..f831395e 100644
--- a/config/p10k-robbyrussell.zsh
+++ b/config/p10k-robbyrussell.zsh
@@ -104,5 +104,8 @@
(( ! $+functions[p10k] )) || p10k reload
}
+# Tell `p10k configure` which file it should overwrite.
+typeset -g POWERLEVEL9K_CONFIG_FILE=${${(%):-%x}:a}
+
(( ${#p10k_config_opts} )) && setopt ${p10k_config_opts[@]}
'builtin' 'unset' 'p10k_config_opts'