Skip to content

Commit

Permalink
zsh(fix): set HISTFILE always
Browse files Browse the repository at this point in the history
  • Loading branch information
rennsax committed Jun 5, 2024
1 parent 0f91b06 commit ef1d871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ setopt interactivecomments
setopt noflowcontrol

# history
[[ -z "$HISTFILE" ]] && export HISTFILE="${ZDOTDIR:-$HOME}/.zsh_history"
export HISTFILE="${ZDOTDIR:-$HOME}/.zsh_history"
export HISTSIZE=1000000
export SAVEHIST=1000000
export HISTORY_IGNORE="(*${USER}*)"
Expand Down

0 comments on commit ef1d871

Please sign in to comment.