mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Tradition dictates that options are uppercase.
This commit is contained in:
parent
850eb8c637
commit
9d27df2050
14 changed files with 58 additions and 58 deletions
28
history.zsh
28
history.zsh
|
|
@ -2,18 +2,18 @@ HISTFILE="$HOME/.zhistory"
|
|||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
|
||||
setopt bang_hist # Treat the '!' character specially during expansion.
|
||||
setopt extended_history # Write the history file in the ":start:elapsed;command" format.
|
||||
setopt append_history # Append to the history file, don't replace it.
|
||||
setopt inc_append_history # Write to the history file immediately, not when the shell exits.
|
||||
setopt share_history # Share history between all sessions.
|
||||
setopt hist_expire_dups_first # Expire duplicate entries first when trimming history.
|
||||
setopt hist_ignore_dups # Don't record an entry that was just recorded again.
|
||||
setopt hist_ignore_all_dups # Delete old recorded entry if new entry is a duplicate.
|
||||
setopt hist_find_no_dups # Do not display a line previously found.
|
||||
setopt hist_ignore_space # Don't record an entry starting with a space.
|
||||
setopt hist_save_no_dups # Don't write duplicate entries in the history file.
|
||||
setopt hist_reduce_blanks # Remove superfluous blanks before recording entry.
|
||||
setopt hist_verify # Don't execute immediately upon history expansion.
|
||||
setopt hist_beep # Beep when accessing nonexistent history.
|
||||
setopt BANG_HIST # Treat the '!' character specially during expansion.
|
||||
setopt EXTENDED_HISTORY # Write the history file in the ":start:elapsed;command" format.
|
||||
setopt APPEND_HISTORY # Append to the history file, don't replace it.
|
||||
setopt INC_APPEND_HISTORY # Write to the history file immediately, not when the shell exits.
|
||||
setopt SHARE_HISTORY # Share history between all sessions.
|
||||
setopt HIST_EXPIRE_DUPS_FIRST # Expire duplicate entries first when trimming history.
|
||||
setopt HIST_IGNORE_DUPS # Don't record an entry that was just recorded again.
|
||||
setopt HIST_IGNORE_ALL_DUPS # Delete old recorded entry if new entry is a duplicate.
|
||||
setopt HIST_FIND_NO_DUPS # Do not display a line previously found.
|
||||
setopt HIST_IGNORE_SPACE # Don't record an entry starting with a space.
|
||||
setopt HIST_SAVE_NO_DUPS # Don't write duplicate entries in the history file.
|
||||
setopt HIST_REDUCE_BLANKS # Remove superfluous blanks before recording entry.
|
||||
setopt HIST_VERIFY # Don't execute immediately upon history expansion.
|
||||
setopt HIST_BEEP # Beep when accessing nonexistent history.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue