1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-21 20:00:07 +00:00

don't leak 'token' local variable in parser (#1407)

This commit is contained in:
Roman Perepelitsa 2021-05-24 09:19:13 +02:00
parent f774df6c76
commit a3494a52d7

View file

@ -152,7 +152,7 @@ function _p9k_parse_buffer() {
local -r var="\$$id|\${$id}|\"\$$id\"|\"\${$id}\""
local -i e ic c=${2:-'1 << 62'}
local skip n s r state cmd prev
local skip n s r state token cmd prev
local -a aln alp alf v
if [[ -o interactive_comments ]]; then