From 6537ac6f674938e6ec0287a18eb2db7b48449b66 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Thu, 19 Mar 2020 15:56:14 -0400 Subject: [PATCH] Added yarn autocomplete function. --- zsh/zplug | 4 ++++ 1 file changed, 4 insertions(+) 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