From 7f2c33e948cf46c2886dfc5dcfc9dec4466daa8d Mon Sep 17 00:00:00 2001 From: Nikita Bykov Date: Sat, 26 Oct 2024 00:06:04 +0500 Subject: [PATCH] preserver history in zsh --- .zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.zshrc b/.zshrc index 80a7802..210a131 100644 --- a/.zshrc +++ b/.zshrc @@ -7,6 +7,11 @@ fi ZSH_THEME="simple" +HISTFILE=~/.zsh_history +HISTSIZE=15000 +SAVEHIST=15000 +setopt appendhistory + alias v="nvim" alias ls="ls --color" alias acpoet='source $( poetry env list --full-path | grep Activated | cut -d" " -f1 )/bin/activate'