X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/e367427733654928c4cfd574bf230a90f0cbf25a..43d64d1d7e5700aedfaf909d89b44501c9717a6a:/dot/zshrc diff --git a/dot/zshrc b/dot/zshrc index d280c14..3cf00dc 100644 --- a/dot/zshrc +++ b/dot/zshrc @@ -30,6 +30,8 @@ fi ###-------------------------------------------------------------------------- ### Line editing. +case $TERM in dumb) unsetopt zle ;; esac + bindkey -e for w in \ @@ -115,26 +117,23 @@ SAVEHIST=1000 unsetopt auto_cd unsetopt auto_menu +setopt bang_hist unsetopt bash_auto_list unsetopt beep setopt extendedglob unsetopt flow_control setopt hist_ignore_all_dups +setopt hist_ignore_space setopt ksh_glob setopt list_ambiguous setopt list_packed +setopt multios unsetopt nomatch unsetopt menu_complete setopt notify +setopt rc_expand_param setopt share_history -zshaddhistory () { - case "$1" in - " "*) return 2 ;; - *) return 0 ;; - esac -} - ###-------------------------------------------------------------------------- ### Finishing touches.