1
0
Fork 0
chezmoi/dot_config/zsh/include/options.zsh
2022-12-01 01:56:37 +01:00

19 lines
814 B
Bash

zstyle ':zim' disable-version-check yes
# set paths
zstyle ':zim:completion' dumpfile ${cachedir}/compdump
zstyle ':completion::complete:*' cache-path ${cachedir}/compcache
HISTFILE=${datadir}/history
ZSHZ_DATA=${datadir}/z
## History command configuration -- stolen from oh-my-zsh
setopt extended_history # record timestamp of command in HISTFILE
setopt hist_expire_dups_first # delete duplicates first when HISTFILE size exceeds HISTSIZE
setopt hist_ignore_dups # ignore duplicated commands history list
setopt hist_ignore_space # ignore commands that start with space
setopt hist_verify # show command with history expansion to user before running it
setopt share_history # share command history data
HISTSIZE=50000
SAVEHIST=10000
# estabilish basic keybinding
bindkey -e