summaryrefslogtreecommitdiff
path: root/config/p10k-lean.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-09-20 15:20:01 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-09-20 15:20:01 +0300
commite645b79db3521e480aafdfa3e957cc20da7f1e7f (patch)
treed0934a34b76cc2d4f67da618826ae24c2bc3cc44 /config/p10k-lean.zsh
parent19eb4893874dd82eabae60083dc7feb41a0902ec (diff)
survive aliased `local`
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r--config/p10k-lean.zsh2
1 files changed, 1 insertions, 1 deletions
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')