Skip to content

Commit

Permalink
feat:enlarge zsh history size
Browse files Browse the repository at this point in the history
  • Loading branch information
beardnick committed Jan 1, 2025
1 parent bc1a4dd commit 299f98c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions shell/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ zinit light-mode for \
# history

[ -z "$HISTFILE" ] && HISTFILE="$HOME/.zsh_history"
HISTSIZE=50000
SAVEHIST=10000
HISTSIZE=5000000
SAVEHIST=$HISTSIZE
setopt SHARE_HISTORY


# key binding
Expand Down Expand Up @@ -114,7 +115,3 @@ setopt append_history
add_path "$HOME/.local/bin"


HISTFILE=~/.zsh_history
HISTSIZE=10000
SAVEHIST=1000
setopt SHARE_HISTORY

0 comments on commit 299f98c

Please sign in to comment.