X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/43016843cfea7f857797fdc1d6e8a2b59557aaf1..c3608beb1b6da54f2e7b489571b750f582338f9f:/base/.zshrc?ds=sidebyside diff --git a/base/.zshrc b/base/.zshrc index 090d7fa..014b039 100644 --- a/base/.zshrc +++ b/base/.zshrc @@ -37,12 +37,13 @@ if (( $#terminfo == 0 )) { if [[ -n $keymap ]] { source $keymap } else { - echo "Failed to source file $keymap" >&2 + echo "Failed to source keymap file $keymap" >&2 } unfunction find_keymap; unset keymap } else { # activate application mode for zle so terminfo keys work - # don't do this for zkbd since application mode shouldn't have ben enabled + # NOTE: don't do this for zkbd since application mode shouldn't have been + # enabled by zkbd when the keymap file was generated if [[ -v terminfo[smkx] && -v terminfo[rmkx] ]] { autoload -Uz add-zle-hook-widget function _enter-application-mode { echoti smkx }