From bb3b34829a0599a2c356a46fdfa75c3f9c525088 Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Fri, 18 Feb 2011 17:05:47 -0500 Subject: removing dependency on oh-my-zsh --- zsh/history.zsh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 zsh/history.zsh (limited to 'zsh/history.zsh') diff --git a/zsh/history.zsh b/zsh/history.zsh new file mode 100644 index 0000000..0619fbe --- /dev/null +++ b/zsh/history.zsh @@ -0,0 +1,18 @@ +#TODO: optimize these rules. they are redundant + +## Command history configuration +HISTFILE=$HOME/.zsh_history +HISTSIZE=10000 +SAVEHIST=10000 + +setopt hist_ignore_dups # ignore duplication command history list +setopt share_history # share command history data + +setopt hist_verify +setopt inc_append_history +setopt extended_history +setopt hist_expire_dups_first +setopt hist_ignore_space + +setopt SHARE_HISTORY +setopt APPEND_HISTORY -- cgit v1.2.3