From 7c85c3285b99966b5c9fcaff292e3efd5abde4dc Mon Sep 17 00:00:00 2001 From: greg fu Date: Thu, 17 Nov 2022 23:04:11 -0300 Subject: [PATCH] Update .zshrc --- .config/zsh/.zshrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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"