mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 08:20:10 +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
|
||||
continue
|
||||
;;
|
||||
'`'*'`'|'"`'*'`"'|'$('*')'|'"$('*')"'|['<>=']'('*')')
|
||||
'`'[^'`']##'`'|'"`'[^'`']##'`"'|'$('[^')']##')'|'"$('[^')']##')"'|['<>=']'('[^')']##')')
|
||||
s=${${token##('"'|)(['$<>']|)?}%%?('"'|)}
|
||||
(( ic )) && tokens+=(';' ${(Z+C+)s}) || tokens+=(';' ${(z)s})
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user