Update my zshrc with additional files, it was getting unruly, despite my hope with plugins/etc

This commit is contained in:
2024-05-20 19:57:39 -04:00
parent e6f9b29f3b
commit 9a4a2c951e
7 changed files with 123 additions and 86 deletions

18
zsh/lib/history.zsh Normal file
View File

@ -0,0 +1,18 @@
# Settings for the *omz/lib/history*
#
# Set the timestamp format for history for ISO format
export HIST_STAMPS="yyyy-mm-dd"
# Don't bother storing these commands in history
export HISTORY_IGNORE="(ls|cd|cd -|pwd|exit|date|.* --help)"
# Set the location for the zsh_history file to be inside our .zsh foler
export HISTFILE="$ZDOTDIR/.zsh_history"
# Keep this many history events in per-shell memory
export HISTSIZE=100000
# Keep this many history events in the log file
export SAVEHIST=50000
unsetopt share_history
unsetopt hist_verify
setopt hist_ignore_all_dups
setopt hist_find_no_dups