X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fzsh%2Ffiles%2Fzshrc;h=2d92fd4c4dc8bb32b0fcfd5d281544fb319d65f4;hb=bef71a8931a9a3a8f2839c7071a10cdeed52a8ea;hp=458a57657dfd07628eb851711f384270b0fda707;hpb=8934f7da484dee8f45d11808ea00d47e753262ae;p=max%2Fsaltfiles.git diff --git a/states/zsh/files/zshrc b/states/zsh/files/zshrc index 458a576..2d92fd4 100644 --- a/states/zsh/files/zshrc +++ b/states/zsh/files/zshrc @@ -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