My zsh configuration
git clone https://github.com/m-col/zshrc
Files | Refs | Readme

Commit 4f198fe2677fbc9596d410694fe0a0797e2171ba
Parent: 219309c2cd4c7e2fea4fd8e6b44bce67afc6e5c5
Author: mcol <mcol@posteo.net>
Date: 2019-02-22 23:51:19 +0000
Committer: mcol <mcol@posteo.net>
Committed: 2019-02-22 23:51:19 +0000

added setopt lines to zshrc, fixing history

zshrc Modified

@@ -16,13 +16,24 @@
     export IS_TMUX=false
 fi
 
+# zsh settings
 ZSH="$HOME/.zsh"
 HYPHEN_INSENSITIVE="true"
 COMPLETION_WAITING_DOTS="true"
 ZSH_COMPDUMP="$HOME/.zcompdump"
+setopt CORRECT
+
+# zsh history
 HISTFILE="$HOME/.zsh_history"
-bindkey '^A' autosuggest-execute
+HISTSIZE=2000
+SAVEHIST=1000
+#setopt INC_APPEND_HISTORY
+setopt SHARE_HISTORY
+setopt HIST_IGNORE_ALL_DUPS
+setopt HIST_REDUCE_BLANKS
 
+# plugins
+bindkey '^A' autosuggest-execute
 for plugin ($ZSH/oh-my-zsh/*.zsh $ZSH/*.zsh(N))
 do
     source $plugin