fzf-yarn
fzf-yarn copied to clipboard
Yarn script completion using fzf 🌸

Dependencies
on macOS:
brew install fzf
on macOS:
brew install jq
Installation
Clone the repo in .oh-my-zsh/plugins/fzf-yarn
git clone https://github.com/pierpo/fzf-yarn ~/.oh-my-zsh/plugins/fzf-yarn
Then add the plugin to your .zshrc
# In your .zshrc
plugins=(... fzf-yarn ...)
Usage
If you don't like the ** prefix (which is a fzf thing), you may change it in your zshrc:
export FZF_COMPLETION_TRIGGER='**'
I personally put , instead :wink:
Scripts list
yarn **<TAB>
or if you change the config like I did
# If you change the fzf completion trigger to ','
yarn ,<TAB>