1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-23 23:51:58 +00:00

minor opitimization

This commit is contained in:
romkatv 2020-01-12 12:07:34 +01:00
parent 02a5d21f12
commit b8981328bb

View file

@ -5664,7 +5664,7 @@ function _p9k_widget_hook() {
P9K_COMMANDS=($_p9k__last_commands)
else
_p9k__last_buffer=$PREBUFFER$BUFFER
_p9k_parse_buffer $_p9k__last_buffer 32
[[ -n $_p9k__last_buffer ]] && _p9k_parse_buffer $_p9k__last_buffer 32
_p9k__last_commands=($P9K_COMMANDS)
fi
(( $+functions[p10k-on-post-widget] )) && p10k-on-post-widget "${@:2}"