Skip to content

Commit 49192b2

Browse files
committed
fix(zsh): improve zsh settings
1 parent adb9dd0 commit 49192b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: shell/zsh/.zshrc

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,22 @@ fi
1010

1111
# Options
1212
HISTFILE=$HOME/.zsh_history
13-
HISTSIZE=-1
13+
HISTSIZE=10000000
1414
SAVEHIST=$HISTSIZE
1515
setopt HIST_IGNORE_ALL_DUPS
1616
setopt HIST_FCNTL_LOCK
1717
setopt HIST_SAVE_NO_DUPS
1818
setopt HIST_REDUCE_BLANKS
1919
setopt APPEND_HISTORY
20+
setopt INC_APPEND_HISTORY
2021
setopt INC_APPEND_HISTORY_TIME
2122
setopt EXTENDED_HISTORY
2223
setopt HIST_NO_STORE
2324
setopt SHARE_HISTORY
2425
setopt HIST_EXPIRE_DUPS_FIRST
2526
setopt HIST_IGNORE_DUPS
2627
setopt HIST_VERIFY
28+
setopt HIST_FIND_NO_DUPS
2729
setopt +o nomatch
2830
unset zle_bracketed_paste
2931

0 commit comments

Comments
 (0)