mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 04:10:07 +00:00
ksh_arrays compatibility
This commit is contained in:
parent
88d5fb6145
commit
2ba87f4d1f
1 changed files with 1 additions and 1 deletions
|
@ -7270,7 +7270,7 @@ function _p9k_deschedule_redraw() {
|
|||
function _p9k_widget_hook() {
|
||||
_p9k_deschedule_redraw
|
||||
|
||||
if (( $+functions[p10k-on-post-widget] || $#_p9k_show_on_command )); then
|
||||
if (( ${+functions[p10k-on-post-widget]} || ${#_p9k_show_on_command} )); then
|
||||
local -a P9K_COMMANDS
|
||||
if [[ "$_p9k__last_buffer" == "$PREBUFFER$BUFFER" ]]; then
|
||||
P9K_COMMANDS=(${_p9k__last_commands[@]})
|
||||
|
|
Loading…
Reference in a new issue