From 1434c859bcf94a0bbee88e72c8a01849d0356293 Mon Sep 17 00:00:00 2001 From: xero Date: Wed, 28 May 2014 17:37:03 -0400 Subject: add zsh shared history settings --- .zshrc | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v1.2.1