Added yarn autocomplete function.

This commit is contained in:
James Patrick 2020-03-19 15:56:14 -04:00
parent b86e96b570
commit 6537ac6f67

View File

@ -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-completions", as:plugin, defer:2
zplug "zsh-users/zsh-history-substring-search", 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 if [ -n "$SSH_CONNECTION" ] ; then
zplug "${ZDIR}/modules/prompt/", from:local, use:uncommon.zsh, as:theme zplug "${ZDIR}/modules/prompt/", from:local, use:uncommon.zsh, as:theme
else else