X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/43016843cfea7f857797fdc1d6e8a2b59557aaf1..65ebcb39f6c52361b7d10d42a52ae7399dbe5ebe:/base/.zshrc?ds=inline diff --git a/base/.zshrc b/base/.zshrc index 090d7fa..be7fb3e 100644 --- a/base/.zshrc +++ b/base/.zshrc @@ -11,7 +11,7 @@ setopt PROMPT_SUBST ## jobs setopt AUTO_CONTINUE ## history -setopt NO_HIST_SAVE_BY_COPY HIST_IGNORE_DUPS SHARE_HISTORY +setopt NO_HIST_SAVE_BY_COPY HIST_IGNORE_DUPS SHARE_HISTORY HIST_REDUCE_BLANKS ### keys # TODO: investigate "^[[200~" bracketed-paste @@ -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 } @@ -159,7 +160,7 @@ else fi unfunction check-busybox if [[ "$(basename "$PAGER")" = "less" ]] { - ps="$ps | less -SE" + ps="$ps | less -S" } else { ps="$ps | \"${PAGER:-more}\"" }