g-plane/zsh-yarn-autocompletions

macbook: "yarn-autocompletions" cannot be opened because the developer cannot be verified

rkristelijn opened this issue · 4 comments

Steps to reproduce:

  1. download from source
  2. extract and run the ./install.sh $ZSH_CUSTOM/plugins
  3. restart by . ~/.zshrc
  4. type yarn
  5. popup appears

I used these steps to overcome https://support.apple.com/en-us/HT202491

There's a similar issue: #21 (comment) . However, I'm not a macOS user so I can't debug.

I fixed this by opening $ZSH_CUSTOM/plugins/yarn-autocompletions, right-clicking the executable, and clicking open.

On your Mac, choose Apple menu > System Preferences, click Security & Privacy , then click General.
make it always allow.

open with finder

open $ZSH_CUSTOM/plugins/yarn-autocompletions

and double click open the file yarn-autocompletions and allow access there.