From ecad7cfbba68231a54afdee78e2f256c78519db4 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 26 Oct 2016 14:23:33 +0200 Subject: zsh: load and save history --- tag-zsh/config/zsh/zshrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tag-zsh/config') 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 ]} ]] -- cgit 1.4.1