refactor(zsh): move history options into plugin
This commit is contained in:
parent
a8e0c6fac2
commit
677eaae9e6
2 changed files with 5 additions and 4 deletions
5
zsh/.config/oh-my-zsh/custom/zsh-history.zsh
Normal file
5
zsh/.config/oh-my-zsh/custom/zsh-history.zsh
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# increase zsh history
|
||||||
|
export HISTSIZE=1000000000
|
||||||
|
export SAVEHIST=$HISTSIZE
|
||||||
|
setopt EXTENDED_HISTORY
|
||||||
|
|
|
@ -33,10 +33,6 @@ autoload -U compinit && compinit
|
||||||
# source omz
|
# source omz
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
# increase zsh history
|
|
||||||
export HISTSIZE=1000000000
|
|
||||||
export SAVEHIST=$HISTSIZE
|
|
||||||
setopt EXTENDED_HISTORY
|
|
||||||
|
|
||||||
# reduce linux syscalls
|
# reduce linux syscalls
|
||||||
export TZ=:/etc/localtime
|
export TZ=:/etc/localtime
|
||||||
|
|
Loading…
Reference in a new issue