From 2bf9b199de7f3a357afb2b7b56e3fc144a86175d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjetil=20=C3=98rbekk?= Date: Tue, 20 Oct 2020 11:37:32 -0400 Subject: Add missing zsh history settings --- zsh/.zshrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'zsh/.zshrc') diff --git a/zsh/.zshrc b/zsh/.zshrc index 8e7a73a..94c939e 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -12,6 +12,10 @@ zstyle ':completion:*' menu select zstyle ':completion::complete:*' gain-privileges 1 zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} +# History settings +HISTFILE=~/.zsh_history +HISTSIZE=1000000 +SAVEHIST=$HISTSIZE setopt append_history share_history histignorealldups # cd to a directory used as a commant -- cgit v1.2.3