From 30a5e36c0bcb0b2a42ce8971f5445db0a1831b4e Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sat, 21 May 2022 13:44:06 -0400 Subject: [PATCH] [+] Append history --- scripts/zshrc.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/zshrc.sh b/scripts/zshrc.sh index f2883a5..dbee8c6 100755 --- a/scripts/zshrc.sh +++ b/scripts/zshrc.sh @@ -1,3 +1,9 @@ +# ZSH History +HISTFILE=~/.zsh_history +HISTSIZE=1000 +SAVEHIST=1000 +setopt appendhistory + # 好用的简写w alias ls='ls -h --color=auto' alias ll='ls -l'