From 4852c2eecaac4b14bf37102149cdbd64f40acaf1 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 14 Apr 2014 00:04:31 +0900 Subject: [PATCH] fix zsh command history --- shrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shrc b/shrc index 8d03a3f..e232367 100755 --- a/shrc +++ b/shrc @@ -230,8 +230,12 @@ then setopt hist_ignore_dups setopt hist_ignore_all_dups setopt hist_save_no_dups + setopt extended_history setopt share_history setopt append_history + HISTFILE=$HOME/.zsh-history + HISTSIZE=100000 + SAVEHIST=100000 setopt prompt_subst