From 8debd097fbea09032c27b2c8d69d8430d7ea0551 Mon Sep 17 00:00:00 2001 From: Robby Russell Date: Wed, 23 Sep 2009 07:43:36 -0700 Subject: Moving all zsh config options into a lib/ subdirectory to make way for some upcoming changes to directory structure and configuration options --- lib/history.zsh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lib/history.zsh (limited to 'lib/history.zsh') diff --git a/lib/history.zsh b/lib/history.zsh new file mode 100644 index 000000000..a093aa27c --- /dev/null +++ b/lib/history.zsh @@ -0,0 +1,15 @@ +# History stuff. +setopt HIST_VERIFY +setopt INC_APPEND_HISTORY +setopt SHARE_HISTORY +setopt EXTENDED_HISTORY +setopt HIST_IGNORE_DUPS + +## Command history configuration +# +HISTFILE=$ZSH/log/.zsh_history +HISTSIZE=2500 +SAVEHIST=2500 +setopt hist_ignore_dups # ignore duplication command history list +setopt share_history # share command history data + -- cgit v1.2.3-70-g09d2 From ff545e6934b70945e778495f613d41a43681b662 Mon Sep 17 00:00:00 2001 From: Robby Russell Date: Wed, 23 Sep 2009 08:07:02 -0700 Subject: Bumping up history to 10k commands --- lib/history.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/history.zsh') diff --git a/lib/history.zsh b/lib/history.zsh index a093aa27c..f7b63b7cd 100644 --- a/lib/history.zsh +++ b/lib/history.zsh @@ -8,8 +8,8 @@ setopt HIST_IGNORE_DUPS ## Command history configuration # HISTFILE=$ZSH/log/.zsh_history -HISTSIZE=2500 -SAVEHIST=2500 +HISTSIZE=10000 +SAVEHIST=10000 setopt hist_ignore_dups # ignore duplication command history list setopt share_history # share command history data -- cgit v1.2.3-70-g09d2