Completion for yarn scripts from your current projects.
Install the script globally:
$ yarn global add yarn-completionCopy the file yarn-completion.bash to your user directory then add this script to your ~/.bashrc:
if [ -f ~/yarn-completion.bash ]; then
. ~/yarn-completion.bash
ficd into a project with a package.json, then type yarn and tab to see the list of available scripts.