mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-10-01 09:14:34 +00:00
use more precise pattern for process substitutions
This commit is contained in:
+1
-1
@@ -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})
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user