mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
tidy up history
This commit is contained in:
parent
8fe67686db
commit
556ee4198f
1 changed files with 5 additions and 7 deletions
12
history.zsh
12
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
|
## Command history configuration
|
||||||
#
|
#
|
||||||
HISTFILE=$HOME/.zsh_history
|
HISTFILE=$HOME/.zsh_history
|
||||||
|
@ -12,3 +5,8 @@ HISTSIZE=5000
|
||||||
SAVEHIST=5000
|
SAVEHIST=5000
|
||||||
setopt hist_ignore_dups # ignore duplication command history list
|
setopt hist_ignore_dups # ignore duplication command history list
|
||||||
setopt share_history # share command history data
|
setopt share_history # share command history data
|
||||||
|
|
||||||
|
setopt hist_verify
|
||||||
|
setopt inc_append_history
|
||||||
|
setopt extended_history
|
||||||
|
setopt hist_expire_dups_first
|
||||||
|
|
Loading…
Reference in a new issue