Update zshrc

Add support for opam
This commit is contained in:
Robert Morrison 2022-02-02 17:25:41 +00:00
parent 38401cbb05
commit e1cac62062
Signed by: robert
GPG Key ID: 73E012EB3F4EC696

5
zshrc
View File

@ -59,6 +59,11 @@ _comp_options+=(globdots)
zle -N edit-command-line zle -N edit-command-line
bindkey "" edit-command-line bindkey "" edit-command-line
## Load external stuff
## support for opam
test -r $HOME/.opam/opam-init/init.zsh && . $HOME/.opam/opam-init/init.zsh > /dev/null 2> /dev/null ||
## Configure Plugins ## Configure Plugins
export ZSH_AUTOSUGGEST_STRATEGY=(completion history) # suggest from completion then history export ZSH_AUTOSUGGEST_STRATEGY=(completion history) # suggest from completion then history
export ZSH_AUTOSUGGEST_USE_ASYNC=1 # make async for SPEED export ZSH_AUTOSUGGEST_USE_ASYNC=1 # make async for SPEED