summary refs log tree commit diff
path: root/zshrc
blob: 3f1f8a96070e3555a1eba869b926752ac32e66ec (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
autoload -U compinit
compinit -C

HISTFILE=~/.zhistory
SAVEHIST=1000
setopt append_history
setopt hist_ignore_space
setopt share_history

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='; '