blob: 8de4f9a76de4bedb3b5f701b19d063136ab13958 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
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='; '
|