aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.config
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.config')
-rw-r--r--zsh/.config/zsh/.zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index 91c966c..d2806f0 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -7,10 +7,11 @@ stty stop undef # Disable ctrl-s to freeze terminal.
# History
HISTFILE="$XDG_CACHE_HOME/zsh/history"
-HISTSIZE=50000
+HISTSIZE=10000
SAVEHIST=10000
setopt extended_history # record timestamp of command in HISTFILE
setopt hist_expire_dups_first # delete duplicates first when HISTFILE size exceeds HISTSIZE
+setopt hist_ignore_all_dups # ignore all duplicated commands
setopt hist_ignore_dups # ignore duplicated commands history list
setopt hist_ignore_space # ignore commands that start with space
setopt hist_verify # show command with history expansion to user before running it
@@ -143,7 +144,6 @@ if type "deno" > /dev/null; then
#unset deno_cache
fi
-
if type "thefuck" > /dev/null; then
thefuck_cache_dir="$XDG_CACHE_HOME/thefuck"
thefuck_cache="$thefuck_cache_dir/thefuck_init-zsh"