mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 08:00:06 +00:00
minor opitimization
This commit is contained in:
parent
02a5d21f12
commit
b8981328bb
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue