refactor(zsh): move history options into plugin

primary
George Rawlinson 2019-04-23 05:50:23 +12:00
parent a8e0c6fac2
commit 677eaae9e6
2 changed files with 5 additions and 4 deletions

View File

@ -0,0 +1,5 @@
# increase zsh history
export HISTSIZE=1000000000
export SAVEHIST=$HISTSIZE
setopt EXTENDED_HISTORY

View File

@ -33,10 +33,6 @@ autoload -U compinit && compinit
# source omz
source $ZSH/oh-my-zsh.sh
# increase zsh history
export HISTSIZE=1000000000
export SAVEHIST=$HISTSIZE
setopt EXTENDED_HISTORY
# reduce linux syscalls
export TZ=:/etc/localtime