X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fzsh%2Ffiles%2Fzshrc;h=2d92fd4c4dc8bb32b0fcfd5d281544fb319d65f4;hb=bef71a8931a9a3a8f2839c7071a10cdeed52a8ea;hp=ca4c33c013f7411f3d5f033b0fd047efcbc4eeb1;hpb=bf414b48e94ca6e551138e70a13a9eac1413f2ff;p=max%2Fsaltfiles.git diff --git a/states/zsh/files/zshrc b/states/zsh/files/zshrc index ca4c33c..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 extendedhistory +setopt appendhistory autocd extendedglob nomatch extendedhistory correct unsetopt beep notify bindkey -v # End of lines configured by zsh-newuser-install @@ -89,3 +89,9 @@ chpwd() { 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