Ignore duplicates in zsh history

This commit is contained in:
id101010
2018-09-26 22:22:07 +02:00
parent dc9fcb8c9c
commit ceaf2f06d6

1
zshrc
View File

@@ -53,6 +53,7 @@ DISABLE_AUTO_UPDATE="true"
# stamp shown in the history command output. # stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" # The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
HIST_STAMPS="mm/dd/yyyy" HIST_STAMPS="mm/dd/yyyy"
HIST_IGNORE_DUPS="true"
# Would you like to use another custom folder than $ZSH/custom? # Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder # ZSH_CUSTOM=/path/to/new-custom-folder