8 Useful Ways to Configure Your Zsh History — Nick Janetakis
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
A practical guide to configuring Zsh shell history with 8 specific options. Covers setting a custom HISTFILE location following XDG spec, sizing HISTSIZE/SAVEHIST to 50k entries, enabling EXTENDED_HISTORY for timestamps and command duration tracking, using INC_APPEND_HISTORY_TIME for immediate writes, deduplication with HIST_IGNORE_ALL_DUPS, hiding sensitive commands with HIST_IGNORE_SPACE, and cleaning up whitespace with HIST_REDUCE_BLANKS. Includes real-world context on disk/memory usage and tips for searching history with fzf.
Table of contents
# HISTFILE# HISTSIZE / SAVEHIST# EXTENDED_HISTORY# INC_APPEND_HISTORY_TIME# HIST_IGNORE_ALL_DUPS# HIST_IGNORE_SPACE# HIST_REDUCE_BLANKS# Demo Video11K Impressions1 Comment