diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 7322d80..3eff8f9 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -98,16 +98,16 @@ bindkey "^R" history-incremental-search-backward # Finally, make sure the terminal is in application mode, when zle is # active. Only then are the values from $erminfo valid. -#if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then -# function zle-line-init () { -# echoti smkx -# } -# function zle-line-finish () { -# echoti rmkx -# } -# zle -N zle-line-init -# zle -N zle-line-finish -#fi +if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then + function zle-line-init () { + echoti smkx + } + function zle-line-finish () { + echoti rmkx + } + zle -N zle-line-init + zle -N zle-line-finish +fi