X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/5c1771876cc5301c2d0c7e9e28c69a01682d2429..159aaffc22a56b9c4a0a402367338281b3b98aaa:/dot/zshrc diff --git a/dot/zshrc b/dot/zshrc index d56fde2..e02aaa7 100644 --- a/dot/zshrc +++ b/dot/zshrc @@ -3,7 +3,6 @@ ### Zsh session things. __mdw_shell=zsh -case ${INSIDE_EMACS+t},$TERM in t,dumb) unsetopt zle ;; esac ###-------------------------------------------------------------------------- ### History settings. @@ -48,7 +47,7 @@ __mdw_set_prompt_hacks () { case $TERM in linux*|screen*|xterm*|putty*|vt100*|eterm*) bold=%B unbold=%b - gitcolour=%F{cyan} rccolour=%F{red} uncolour=%f + gitcolour=%F{cyan} extracolour=%F{yellow} rccolour=%F{red} uncolour=%f ;; esac host=%m dir=" %(6~!%-1~/.../%4~!%~)" @@ -63,7 +62,8 @@ fi ###-------------------------------------------------------------------------- ### Line editing. -case $TERM in dumb) unsetopt zle ;; esac +case ${INSIDE_EMACS+t},$TERM in t,dumb) unsetopt zle ;; esac +case $TERM in dumb) unset zle_bracketed_paste ;; esac bindkey -e @@ -181,6 +181,7 @@ unsetopt ksh_glob setopt list_ambiguous setopt list_packed setopt multios +setopt magic_equal_subst unsetopt nomatch unsetopt menu_complete setopt notify