Nick Janetakis
Read post

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.

    #bash
Jun 02•7m read time•From nickjanetakis.com
Post cover image
Table of contents
# HISTFILE# HISTSIZE / SAVEHIST# EXTENDED_HISTORY# INC_APPEND_HISTORY_TIME# HIST_IGNORE_ALL_DUPS# HIST_IGNORE_SPACE# HIST_REDUCE_BLANKS# Demo Video
11K Impressions1 Comment
Nick Janetakis's image
Nick Janetakis

Nick Janetakis's blog provides insights into web development, Docker, and technology tutorials. Read...

77 Followers

•

1.3K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard