Skip to content

Instantly share code, notes, and snippets.

@mohitt
Created October 9, 2021 05:56
Show Gist options
  • Save mohitt/ac75ee07097729a24d77743ce60c8a0f to your computer and use it in GitHub Desktop.
Save mohitt/ac75ee07097729a24d77743ce60c8a0f to your computer and use it in GitHub Desktop.
zsh history configuration
export HISTFILE=~/.zsh_history
export HISTFILESIZE=1000000000
export HISTSIZE=1000000000
setopt INC_APPEND_HISTORY
export HISTTIMEFORMAT="[%F %T] "
setopt EXTENDED_HISTORY
setopt HIST_FIND_NO_DUPS
setopt HIST_IGNORE_ALL_DUPS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment