diff --git a/zsh/.config/oh-my-zsh/custom/zsh-history.zsh b/zsh/.config/oh-my-zsh/custom/zsh-history.zsh new file mode 100644 index 0000000..896d2e0 --- /dev/null +++ b/zsh/.config/oh-my-zsh/custom/zsh-history.zsh @@ -0,0 +1,5 @@ +# increase zsh history +export HISTSIZE=1000000000 +export SAVEHIST=$HISTSIZE +setopt EXTENDED_HISTORY + diff --git a/zsh/.zshrc b/zsh/.zshrc index 1a58fcc..6dbc77a 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -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