From 45eb9e9a1e567c9f8b4372993abc42222f2336f9 Mon Sep 17 00:00:00 2001 From: Marco Date: Fri, 14 Jan 2022 11:44:26 +0100 Subject: [PATCH] remove duplicate hist settings --- zsh/.zshenv | 4 ---- zsh/.zshrc | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/zsh/.zshenv b/zsh/.zshenv index 6aa97b3..20b9e30 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -1,7 +1,3 @@ -HISTFILE=${HOME}/.zsh_history -HISTSIZE=500000 -SAVEHIST=$HISTSIZE - export GOPATH="$HOME/.go" export PATH="$HOME/.cargo/bin:$HOME/.gem/bin:$GOPATH/bin:$HOME/.dotfiles/bin:$HOME/.local/bin:$PATH" diff --git a/zsh/.zshrc b/zsh/.zshrc index 914c8de..396748e 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -3,8 +3,9 @@ autoload -U +X compinit && compinit autoload -U +X bashcompinit && bashcompinit autoload -Uz vcs_info +HISTFILE=${HOME}/.zsh_history HISTSIZE=100000 -SAVEHIST=100000 +SAVEHIST=$HISTSIZE setopt completeinword setopt extended_glob