diff options
| author | Peter Son Struschka <me@peter-struschka.com> | 2021-02-28 17:58:30 +0800 |
|---|---|---|
| committer | Peter Son Struschka <me@peter-struschka.com> | 2021-02-28 17:58:30 +0800 |
| commit | 83d7b9c7ce20f16681afacf99ed3ab47427f1ded (patch) | |
| tree | 5f607e348dadf13e5d6061217b7a317a48527d83 /zsh/.config | |
| parent | e5209aad576fe44d3965fcb94d6709348b0a93bf (diff) | |
| download | dotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.tar.gz dotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.tar.bz2 dotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.tar.lz dotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.tar.xz dotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.tar.zst dotfiles-83d7b9c7ce20f16681afacf99ed3ab47427f1ded.zip | |
all: fixes and new modules
Diffstat (limited to 'zsh/.config')
| -rw-r--r-- | zsh/.config/zsh/.zshrc | 4 |
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" |
