diff --git a/zsh/zplug b/zsh/zplug index dba22a6..df5d11f 100755 --- a/zsh/zplug +++ b/zsh/zplug @@ -20,6 +20,10 @@ zplug "zsh-users/zsh-autosuggestions", as:plugin, defer:2 zplug "zsh-users/zsh-completions", as:plugin, defer:2 zplug "zsh-users/zsh-history-substring-search", as:plugin, defer:2 +if (($+commands[yarn])) ; then + zplug "g-plane/zsh-yarn-autocompletions", hook-build:"./zplug.zsh", defer:2 +fi + if [ -n "$SSH_CONNECTION" ] ; then zplug "${ZDIR}/modules/prompt/", from:local, use:uncommon.zsh, as:theme else