Start Refactoring to composable zsh config modules

This commit is contained in:
Marty Oehme 2019-02-18 17:55:05 +01:00
parent 764de81461
commit 71a7ca83c6
24 changed files with 643 additions and 296 deletions

27
.zsh.d/01-history Normal file
View file

@ -0,0 +1,27 @@
### Set ZSH History defaults
# set some history options
setopt append_history
setopt extended_history
setopt hist_expire_dups_first
setopt hist_ignore_all_dups
setopt hist_ignore_dups
setopt hist_ignore_space
setopt hist_reduce_blanks
setopt hist_save_no_dups
setopt hist_verify
# Share your history across all your terminal windows
setopt share_history
#setopt noclobber
# set some more options
setopt pushd_ignore_dups
#setopt pushd_silent
# Keep a ton of history.
HISTSIZE=100000
SAVEHIST=100000
HISTFILE=~/.zsh_history
export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help"