mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 08:20:09 +00:00
edc8e3d092
This is useful when you want to use a dangerous command, as it won't be available with history searching.
16 lines
377 B
Bash
16 lines
377 B
Bash
## 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
|