## 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
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 }
fi
unfunction check-busybox
if [[ "$(basename "$PAGER")" = "less" ]] {
- ps="$ps | less -SE"
+ ps="$ps | less -S"
} else {
ps="$ps | \"${PAGER:-more}\""
}