diff --git a/shell-integration/kitty.zsh b/shell-integration/kitty.zsh index d493f9093..1a4d19e95 100644 --- a/shell-integration/kitty.zsh +++ b/shell-integration/kitty.zsh @@ -3,7 +3,8 @@ () { if [[ ! -o interactive ]]; then return; fi if [[ -z "$KITTY_SHELL_INTEGRATION" ]]; then return; fi - typeset -g -A _ksi_prompt=([state]='first-run' [cursor]='y' [title]='y' [mark]='y' [complete]='y') + typeset -g -A _ksi_prompt + _ksi_prompt=(state first-run cursor y title y mark y complete y) for i in ${=KITTY_SHELL_INTEGRATION}; do if [[ "$i" == "no-cursor" ]]; then _ksi_prompt[cursor]='n'; fi if [[ "$i" == "no-title" ]]; then _ksi_prompt[title]='n'; fi