Deduplicating zsh Command History Automatically Once a Day
Automatically Deduplicating zsh Command History in zshrc
With daily terminal work, the same commands pile up in ~/.zsh_history over and over.
History searches with peco / Ctrl-R end up full of noise, and the file tends to grow.
The zshrc I use every day is part of a dotfiles repository where I keep all my dot files together under Git.
This time I decided to touch that zshrc and add settings that cut down the duplicates.
Deciding the requirements first Before doing any work, I settled on the following specification.
[Read More]