diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-07-23 09:17:34 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-07-23 09:17:34 +0300 |
commit | 2ba87f4d1f47e182a37557e2430e69fac1bec1b4 (patch) | |
tree | 082d625e498063c1da0bf45867fb3a60e4485f29 /internal/p10k.zsh | |
parent | 88d5fb6145301e6505cd1cf10cc87fb0ec833fb5 (diff) |
ksh_arrays compatibility
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r-- | internal/p10k.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 6e2fc053..0fd05790 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -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[@]}) |