aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh2
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})
;;