Update zshrc
Add support for opam
This commit is contained in:
parent
38401cbb05
commit
e1cac62062
5
zshrc
5
zshrc
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user