aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/p10k-classic.zsh2
-rw-r--r--config/p10k-lean.zsh2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh
index 2041d379..376879d9 100644
--- a/config/p10k-classic.zsh
+++ b/config/p10k-classic.zsh
@@ -6,7 +6,7 @@
# for i in {0..255}; do print -Pn "%${i}F${(l:3::0:)i}%f " ${${(M)$((i%8)):#7}:+$'\n'}; done
# Temporarily change options.
-local p10k_config_opts=()
+'builtin' 'local' '-a' 'p10k_config_opts'
[[ ! -o 'aliases' ]] || p10k_config_opts+=('aliases')
[[ ! -o 'sh_glob' ]] || p10k_config_opts+=('sh_glob')
[[ ! -o 'no_brace_expand' ]] || p10k_config_opts+=('no_brace_expand')
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index 7ec288d4..d6a7af92 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -6,7 +6,7 @@
# for i in {0..255}; do print -Pn "%${i}F${(l:3::0:)i}%f " ${${(M)$((i%8)):#7}:+$'\n'}; done
# Temporarily change options.
-local p10k_config_opts=()
+'builtin' 'local' '-a' 'p10k_config_opts'
[[ ! -o 'aliases' ]] || p10k_config_opts+=('aliases')
[[ ! -o 'sh_glob' ]] || p10k_config_opts+=('sh_glob')
[[ ! -o 'no_brace_expand' ]] || p10k_config_opts+=('no_brace_expand')