speed up
This commit is contained in:
parent
057533460f
commit
ad22ff1ffa
|
@ -5537,9 +5537,11 @@ function _p9k_parse_buffer() {
|
||||||
state=h
|
state=h
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
'`'[^'`']##'`'|'"`'[^'`']##'`"'|'$('[^')']##')'|'"$('[^')']##')"'|['<>=']'('[^')']##')')
|
*('`'|['<>=$']'(')*)
|
||||||
|
if [[ $token == ('`'[^'`']##'`'|'"`'[^'`']##'`"'|'$('[^')']##')'|'"$('[^')']##')"'|['<>=']'('[^')']##')') ]]; then
|
||||||
s=${${token##('"'|)(['$<>']|)?}%%?('"'|)}
|
s=${${token##('"'|)(['$<>']|)?}%%?('"'|)}
|
||||||
(( ic )) && tokens+=(';' ${(Z+C+)s}) || tokens+=(';' ${(z)s})
|
(( ic )) && tokens+=(';' ${(Z+C+)s}) || tokens+=(';' ${(z)s})
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue