From aa2ff4f2adc7182e7a58f58f7df57536cc94868b Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Sun, 26 Jan 2020 19:51:34 -0500 Subject: [PATCH] fix(added zsh history) ref #465 Added zsh history --- .config/zsh/.zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 63c0049b..4a93e7ba 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -7,6 +7,11 @@ PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magent [ -f "$HOME/.config/shortcutrc" ] && source "$HOME/.config/shortcutrc" [ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" +# History +HISTSIZE=1000 +SAVEHIST=1000 +HISTFILE=$ZDOTDIR/.history + autoload -U compinit zstyle ':completion:*' menu select zmodload zsh/complist