autoload -U compinit compinit -C HISTFILE=~/.zhistory SAVEHIST=1000 setopt append_history setopt hist_ignore_space setopt share_history setopt auto_menu # show completion menu on successive tab press setopt complete_in_word setopt always_to_end zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' autoload -U select-word-style select-word-style bash # Print timing statistics for everything which takes longer than 5 seconds of # user + system time ('sleep 6' does not work because of 0% user/system time!). REPORTTIME=5 # Explicitly select Emacs line editing mode (independent of zsh’s best guess # based on EDITOR/VISUAL). bindkey -e PROMPT='; '