mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01: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
|
state=h
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
'`'*'`'|'"`'*'`"'|'$('*')'|'"$('*')"'|['<>=']'('*')')
|
'`'[^'`']##'`'|'"`'[^'`']##'`"'|'$('[^')']##')'|'"$('[^')']##')"'|['<>=']'('[^')']##')')
|
||||||
s=${${token##('"'|)(['$<>']|)?}%%?('"'|)}
|
s=${${token##('"'|)(['$<>']|)?}%%?('"'|)}
|
||||||
(( ic )) && tokens+=(';' ${(Z+C+)s}) || tokens+=(';' ${(z)s})
|
(( ic )) && tokens+=(';' ${(Z+C+)s}) || tokens+=(';' ${(z)s})
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue