Skip to content

Commit b20e5b4

Browse files
authored
disable generating .zsh_history.new file
1 parent 1870b07 commit b20e5b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

zsh/.zshrc

+3
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,8 @@ source $ZSH/oh-my-zsh.sh
102102
# alias zshconfig="mate ~/.zshrc"
103103
# alias ohmyzsh="mate ~/.oh-my-zsh"
104104

105+
# avoid generating .zsh_history.new file
106+
unsetopt HIST_SAVE_BY_COPY
107+
105108
# enable the environments in .bash_profile
106109
source ~/.bash_profile

0 commit comments

Comments
 (0)