summaryrefslogtreecommitdiff
path: root/history.zsh
diff options
context:
space:
mode:
authorJames Cox <james@imaj.es>2009-09-23 00:44:57 +0100
committerJames Cox <james@imaj.es>2009-09-23 00:44:57 +0100
commit556ee4198f26731c85bfdd40ee1a2edfee755cb5 (patch)
treea554892cfde4eeb9d6b1966dd81910380421e526 /history.zsh
parent8fe67686dba78a273b058f7f7e3d26c286d269f2 (diff)
downloadzsh-556ee4198f26731c85bfdd40ee1a2edfee755cb5.tar.gz
zsh-556ee4198f26731c85bfdd40ee1a2edfee755cb5.tar.bz2
zsh-556ee4198f26731c85bfdd40ee1a2edfee755cb5.zip
tidy up history
Diffstat (limited to 'history.zsh')
-rw-r--r--history.zsh12
1 files changed, 5 insertions, 7 deletions
diff --git a/history.zsh b/history.zsh
index b2c8c0361..356b6498b 100644
--- a/history.zsh
+++ b/history.zsh
@@ -1,10 +1,3 @@
-# History stuff.
-setopt HIST_VERIFY
-setopt INC_APPEND_HISTORY
-setopt SHARE_HISTORY
-setopt EXTENDED_HISTORY
-setopt HIST_IGNORE_DUPS
-
## Command history configuration
#
HISTFILE=$HOME/.zsh_history
@@ -12,3 +5,8 @@ HISTSIZE=5000
SAVEHIST=5000
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