Life changing: using CTRL+r in a terminal to search command history

Reading: Shell History Is Your Best Productivity Tool, by Martin Heinz.

An easy, visual,  search of my command history is saving me an embarrassing amount of time.

The options I took from the post:

# You'll have done this already?
$ brew install fzf

$ cat ~/.zshrc
eval "$(fzf --zsh)"
export FZF_DEFAULT_COMMAND='fd --type f' # My preference

# From: https://martinheinz.dev/blog/110
HISTFILE="$HOME/.zsh_history"
HISTSIZE=10000000
SAVEHIST=10000000
HISTORY_IGNORE="(ls|cd|pwd|exit)*"
setopt INC_APPEND_HISTORY # Write to the history file immediately, not when the shell exits.
setopt SHARE_HISTORY # Share history between all sessions.
setopt HIST_IGNORE_DUPS # Do not record an event that was just recorded again.
setopt HIST_IGNORE_ALL_DUPS # Delete an old recorded event if a new event is a duplicate.
setopt HIST_IGNORE_SPACE # Do not record an event starting with a space.
setopt HIST_SAVE_NO_DUPS # Do not write a duplicate event to the history file.
setopt HIST_VERIFY # Do not execute immediately upon history expansion.
setopt APPEND_HISTORY # append to history file (Default)
setopt HIST_NO_STORE # Don't store history commands
setopt HIST_REDUCE_BLANKS # Remove superfluous blanks from each command line being added to the history

Then, CTRL+r gives you a wonderful searchable history you can pick from.