]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/zsh/files/zshrc
Configure a little
[max/saltfiles.git] / states / zsh / files / zshrc
index 458a57657dfd07628eb851711f384270b0fda707..2d92fd4c4dc8bb32b0fcfd5d281544fb319d65f4 100644 (file)
@@ -23,7 +23,7 @@ compinit
 HISTFILE=~/.histfile
 HISTSIZE=100000
 SAVEHIST=100000
-setopt appendhistory autocd extendedglob nomatch
+setopt appendhistory autocd extendedglob nomatch extendedhistory correct
 unsetopt beep notify
 bindkey -v
 # End of lines configured by zsh-newuser-install
@@ -86,3 +86,12 @@ chpwd() {
         fi
     fi
 }
+
+export GPG_TTY=$(tty)
+gpg-connect-agent updatestartuptty /bye >/dev/null
+
+ZSH_AUTOSUGGEST_STRATEGY=(history completion)
+ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=30
+
+source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
+source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh