mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
The functions directory should only hold functions.
This commit is contained in:
parent
7fa0d20d8c
commit
faeca82831
12 changed files with 22 additions and 18 deletions
19
history.zsh
Normal file
19
history.zsh
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
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.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue