Ignore duplicates in zsh history
This commit is contained in:
1
zshrc
1
zshrc
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user