mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 12:20:07 +00:00
use more precise pattern for process substitutions
This commit is contained in:
parent
bbc6f8638e
commit
057533460f
1 changed files with 1 additions and 1 deletions
|
@ -5537,7 +5537,7 @@ function _p9k_parse_buffer() {
|
|||
state=h
|
||||
continue
|
||||
;;
|
||||
'`'*'`'|'"`'*'`"'|'$('*')'|'"$('*')"'|['<>=']'('*')')
|
||||
'`'[^'`']##'`'|'"`'[^'`']##'`"'|'$('[^')']##')'|'"$('[^')']##')"'|['<>=']'('[^')']##')')
|
||||
s=${${token##('"'|)(['$<>']|)?}%%?('"'|)}
|
||||
(( ic )) && tokens+=(';' ${(Z+C+)s}) || tokens+=(';' ${(z)s})
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue