From e1cac62062096af1f9bdb027293d410cbe16d9ee Mon Sep 17 00:00:00 2001 From: Robert Morrison Date: Wed, 2 Feb 2022 17:25:41 +0000 Subject: [PATCH] Update zshrc Add support for opam --- zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zshrc b/zshrc index 600bee4..999b10a 100755 --- a/zshrc +++ b/zshrc @@ -59,6 +59,11 @@ _comp_options+=(globdots) zle -N 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 export ZSH_AUTOSUGGEST_STRATEGY=(completion history) # suggest from completion then history export ZSH_AUTOSUGGEST_USE_ASYNC=1 # make async for SPEED