aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zshrc9
1 files changed, 9 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index d261c44..14d832f 100644
--- a/.zshrc
+++ b/.zshrc
@@ -96,6 +96,15 @@ chpwd_functions+='chpwd_update_git_vars'
#█▓▒░ load configs
for config_file (~/.zsh/*.zsh) source $config_file
+#█▓▒░ history
+HISTFILE=~/.zhistory
+setopt APPEND_HISTORY
+HISTSIZE=1200
+SAVEHIST=1000
+setopt HIST_EXPIRE_DUPS_FIRST
+setopt EXTENDED_HISTORY
+setopt SHARE_HISTORY
+
#█▓▒░ custom prompts
#█▓▒░dual line