diff options
author | Alan Pearce | 2016-10-26 14:23:33 +0200 |
---|---|---|
committer | Alan Pearce | 2016-10-26 14:23:33 +0200 |
commit | ecad7cfbba68231a54afdee78e2f256c78519db4 (patch) | |
tree | 987d322f9d36acdb49a39ce0a12436d3863d43ae /tag-zsh/config/zsh | |
parent | 6ebfc7c5c6585836a0de12412a65b1419401301a (diff) | |
download | dotfiles-ecad7cfbba68231a54afdee78e2f256c78519db4.tar.lz dotfiles-ecad7cfbba68231a54afdee78e2f256c78519db4.tar.zst dotfiles-ecad7cfbba68231a54afdee78e2f256c78519db4.zip |
zsh: load and save history
Diffstat (limited to 'tag-zsh/config/zsh')
-rw-r--r-- | tag-zsh/config/zsh/zshrc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 2a37b50..392343a 100644 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -15,6 +15,10 @@ zplug "gerges/oh-my-zsh-jira-plus", as:plugin, if:"[[ ${(SN)HOST%spotcap} ]]" zplug "lukechilds/zsh-better-npm-completion", if:"[[ -n $commands[npm] ]]", nice:10 zplug "hlissner/zsh-autopair", nice:10 +HISTSIZE=3000 +SAVEHIST=10000 +HISTFILE=${XDG_CACHE_HOME:=$HOME/.cache}/zsh/history + WORDCHARS=${${WORDCHARS//[-.]}//[\/]} if [[ ${path[(I)$HOME/bin ]} ]] |