diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-01-14 00:26:42 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-01-14 00:26:42 +0300 |
commit | 057533460ffc84cf136871c425ffd2886fd0840e (patch) | |
tree | dea3e946832842cb55214505e08afc084a5a4067 | |
parent | bbc6f8638eac7195d42d1255ef199de147d6fe29 (diff) |
use more precise pattern for process substitutions
-rw-r--r-- | internal/p10k.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index ef9d1274..b06fe754 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -5537,7 +5537,7 @@ function _p9k_parse_buffer() { state=h continue ;; - '`'*'`'|'"`'*'`"'|'$('*')'|'"$('*')"'|['<>=']'('*')') + '`'[^'`']##'`'|'"`'[^'`']##'`"'|'$('[^')']##')'|'"$('[^')']##')"'|['<>=']'('[^')']##')') s=${${token##('"'|)(['$<>']|)?}%%?('"'|)} (( ic )) && tokens+=(';' ${(Z+C+)s}) || tokens+=(';' ${(z)s}) ;; |