mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
survive aliased local
This commit is contained in:
parent
19eb489387
commit
e645b79db3
2 changed files with 2 additions and 2 deletions
|
@ -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
|
# for i in {0..255}; do print -Pn "%${i}F${(l:3::0:)i}%f " ${${(M)$((i%8)):#7}:+$'\n'}; done
|
||||||
|
|
||||||
# Temporarily change options.
|
# Temporarily change options.
|
||||||
local p10k_config_opts=()
|
'builtin' 'local' '-a' 'p10k_config_opts'
|
||||||
[[ ! -o 'aliases' ]] || p10k_config_opts+=('aliases')
|
[[ ! -o 'aliases' ]] || p10k_config_opts+=('aliases')
|
||||||
[[ ! -o 'sh_glob' ]] || p10k_config_opts+=('sh_glob')
|
[[ ! -o 'sh_glob' ]] || p10k_config_opts+=('sh_glob')
|
||||||
[[ ! -o 'no_brace_expand' ]] || p10k_config_opts+=('no_brace_expand')
|
[[ ! -o 'no_brace_expand' ]] || p10k_config_opts+=('no_brace_expand')
|
||||||
|
|
|
@ -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
|
# for i in {0..255}; do print -Pn "%${i}F${(l:3::0:)i}%f " ${${(M)$((i%8)):#7}:+$'\n'}; done
|
||||||
|
|
||||||
# Temporarily change options.
|
# Temporarily change options.
|
||||||
local p10k_config_opts=()
|
'builtin' 'local' '-a' 'p10k_config_opts'
|
||||||
[[ ! -o 'aliases' ]] || p10k_config_opts+=('aliases')
|
[[ ! -o 'aliases' ]] || p10k_config_opts+=('aliases')
|
||||||
[[ ! -o 'sh_glob' ]] || p10k_config_opts+=('sh_glob')
|
[[ ! -o 'sh_glob' ]] || p10k_config_opts+=('sh_glob')
|
||||||
[[ ! -o 'no_brace_expand' ]] || p10k_config_opts+=('no_brace_expand')
|
[[ ! -o 'no_brace_expand' ]] || p10k_config_opts+=('no_brace_expand')
|
||||||
|
|
Loading…
Reference in a new issue