[zsh] Update all init-rc functions

This commit is contained in:
Eryn Wells 2024-09-30 11:13:10 -07:00
parent 1145ef23e1
commit be4d690e32
16 changed files with 148 additions and 161 deletions

View file

@ -0,0 +1,21 @@
#!/usr/bin/env zsh
# Eryn Wells <eryn@erynwells.me>
function init-rc-zsh-history
{
setopt \
APPEND_HISTORY \
EXTENDED_HISTORY \
INC_APPEND_HISTORY \
HIST_FIND_NO_DUPS \
HIST_IGNORE_SPACE \
HIST_NO_STORE \
HIST_IGNORE_DUPS \
HIST_REDUCE_BLANKS
HISTSIZE=1000000
SAVEHIST=1000000
HISTFILE="$HOME/.zhistory"
}
init-rc-zsh-history "$@"