diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index c46f51d8..207b1b00 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -8,9 +8,11 @@ stty stop undef # Disable ctrl-s to freeze terminal. setopt interactive_comments # History in cache directory: -HISTSIZE=10000000 +setopt appendhistory +HISTSIZE=100000 SAVEHIST=10000000 -HISTFILE="${XDG_CACHE_HOME:-$HOME/.cache}/zsh/history" +HISTFILE=~/.config/zsh/.zhistory + # Load aliases and shortcuts if existent. [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc"