aboutsummaryrefslogtreecommitdiff
path: root/zshrc.d/common
blob: 95f121bddcb095662eb0bf7e6b5eaa919d57c4ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# vim: ft=zsh

autoload -Uz colors && colors

HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
setopt extendedglob
setopt hist_ignore_dups
setopt hist_expire_dups_first
setopt extended_history
setopt inc_append_history
setopt promptsubst
unsetopt nomatch
bindkey -e

autoload -U select-word-style
select-word-style bash

# Delete key workaround
bindkey    "^[[3~"          delete-char
bindkey    "^[3;5~"         delete-char