;;
esac
host=%m dir=" %(6~!%-1~/.../%5~!%~)"
+ more=%F{green}%_%f
}
if [ -t 0 ]; then
###--------------------------------------------------------------------------
### Line editing.
+case $TERM in dumb) unsetopt zle ;; esac
+
bindkey -e
for w in \
bindkey "\e^t" transpose-words-shell
bindkey "\eu" up-case-word-bash
bindkey "\e^u" up-case-word-shell
-bindkey "\el" up-case-word-bash
-bindkey "\e^l" up-case-word-shell
+bindkey "\el" down-case-word-bash
+bindkey "\e^l" down-case-word-shell
bindkey "\ec" capitalize-word-bash
bindkey "\e^c" capitalize-word-shell
unsetopt auto_cd
unsetopt auto_menu
+setopt bang_hist
unsetopt bash_auto_list
unsetopt beep
setopt extendedglob
unsetopt flow_control
+setopt glob_star_short
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.