mirror of
https://github.com/gaschz/dotfiles.git
synced 2025-06-06 18:08:31 +02:00
fix: remove timestamp from Zsh history
When HISTFILE is shared with Bash, the shell doesn't know how to interpret timestamp.
This commit is contained in:
parent
b025ea0fea
commit
4a8aa80c2e
@ -26,12 +26,11 @@ setopt no_beep
|
|||||||
setopt interactive_comments
|
setopt interactive_comments
|
||||||
## - History
|
## - History
|
||||||
SAVEHIST="$HISTSIZE"
|
SAVEHIST="$HISTSIZE"
|
||||||
|
setopt no_extended_history
|
||||||
setopt hist_expire_dups_first # purge dups first
|
setopt hist_expire_dups_first # purge dups first
|
||||||
setopt hist_ignore_dups # ignore dups in history list
|
setopt hist_ignore_dups # ignore dups in history list
|
||||||
setopt hist_verify # if command has hist expansion, show it before executing
|
setopt hist_verify # if command has hist expansion, show it before executing
|
||||||
setopt append_history # append instead of replacing
|
setopt inc_append_history # append command to history as soon as it runs
|
||||||
setopt share_history # share history across sessions
|
|
||||||
setopt no_inc_append_history # conflicts with share_history
|
|
||||||
## - Expansion
|
## - Expansion
|
||||||
setopt auto_cd
|
setopt auto_cd
|
||||||
setopt no_nomatch # if a pattern has no matches print an error
|
setopt no_nomatch # if a pattern has no matches print an error
|
||||||
|
Loading…
x
Reference in New Issue
Block a user