This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env zsh | |
| HISTSIZE=5000 | |
| HISTFILE="${HOME}/.zsh_history" | |
| SAVEHIST="${HISTSIZE}" | |
| HISTDUP=erase | |
| setopt appendhistory # Allow multiple sessions to append to one Zsh command history. | |
| setopt extended_history # Show timestamp in history. | |
| setopt hist_expire_dups_first # Expire A duplicate event first when trimming history. | |
| setopt hist_find_no_dups # Do not display a previously found event. |