summaryrefslogtreecommitdiff
path: root/config/p10k-lean.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-04-05 08:25:10 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-04-05 08:25:10 +0300
commitddc47993a23b417c600020a35d7f4105e9048bff (patch)
tree38a1c5a062db7c5e8ab17936a693cb1632f5eefb /config/p10k-lean.zsh
parent3ef4e68b5fdae654f323af644cbca40f27a8ab97 (diff)
add POWERLEVEL9K_CONFIG_FILE
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r--config/p10k-lean.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index 7d9a537d..1a5bf89f 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -1476,5 +1476,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'