Comments (18)
I will update readme.
from zsh-yarn-autocompletions.
I don't know why, too. I'm sorry about that I'm not using and not familiar with macOS. However, I did a successful setup in a macOS machine two years ago, ever.
from zsh-yarn-autocompletions.
If you're going to build from source, you don't need to copy and execute the install.zsh
.
from zsh-yarn-autocompletions.
Ok. Is this the right way to do it though? The built binary doesn't seem to do anything for me...
I did try doing spctl --add $ZSH_CUSTOM/plugins/yarn-autocompletions/yarn-autocompletions
to disable the Gatekeeper / Unidentified Developer check on macOS Catalina, but that didn't help either.
And can this be documented in the readme?
from zsh-yarn-autocompletions.
I'll update readme in the next few days if I'm not busy.
from zsh-yarn-autocompletions.
I think my steps above are missing something. The plugin doesn't offer any autocompletions...
from zsh-yarn-autocompletions.
Make sure the binary and the .plugin.zsh
file are placed in the same directory.
from zsh-yarn-autocompletions.
Yep, they are both there (install.sh
script put them there):
➜ plugins git:(master) cd $ZSH_CUSTOM/plugins/yarn-autocompletions
➜ yarn-autocompletions git:(master) ls
yarn-autocompletions yarn-autocompletions.plugin.zsh
My plugins config from .zshrc
:
plugins=(git yarn-autocompletions)
from zsh-yarn-autocompletions.
Trying out https://github.com/chrisands/zsh-yarn-completions for now, seems to work, also better than https://github.com/mklabs/yarn-completions.
from zsh-yarn-autocompletions.
Closing now. I still recommend you to use pre-built package from "Release" page.
from zsh-yarn-autocompletions.
Is is possible to still provide some instructions for those who want to build it themselves? I'm not sure why it was failing on my machine...
from zsh-yarn-autocompletions.
Readme is updated. Please read here.
from zsh-yarn-autocompletions.
Thanks @g-plane! I'll try to give the instructions a try in the next while.
Seems like there's nothing new though, except for the part about rustup
. Hm... wonder what my issue was. Would be cool if it just worked now.
I guess if users have macOS Catalina, they may need the spctl
command I mentioned above to disable the Unidentified Developer check.
from zsh-yarn-autocompletions.
Can you tell me what issue you've encountered? (However, I'm not using macOS).
from zsh-yarn-autocompletions.
These were the issues I mentioned above when I was trying it out.
While I was trying to build, I did notice that macOS Catalina flashed a quick Unidentified Developer error when I first tried to run the program. One that looks like this:
So I tried to "trust" the executable in Gatekeeper by running the spctl --add
command.
However, I think it may also need the xattr -d com.apple.quarantine <name-of-executable>
command to remove it from the quarantine first.
Reference: https://docwhat.org/upgrading-to-catalina
I will try both of those things when I try building again.
from zsh-yarn-autocompletions.
This program shouldn't and won't ask a high system permission, since it's only invoked by Zsh, and there's no need to run it manually.
from zsh-yarn-autocompletions.
Yeah, as far as I know, it's not about system permissions - Gatekeeper checks whether the app has been a) signed and b) notarized by an Apple ID:
https://scriptingosx.com/2019/10/notarization-for-macadmins/
The requirements have been changed in macOS 10.15 Catalina:
Starting with Catalina, all software needs to be notarized to pass Gatekeeper when the first launch or installation is initiated by a user.
Additional references:
- Build scripts for signing / notarization in a Rust project:
https://github.com/maidsafe/safe-api/blob/06e1f48db36d1604a15cf287b3cfeb9cea09d658/resources/notarize.sh - List of things one has to do to build software for Catalina:
https://twitter.com/fasterthanlime/status/1115949498927407104 - More information about Gatekeeper:
https://support.apple.com/en-gb/HT202491
from zsh-yarn-autocompletions.
I conclude that this plugin wasn't tested properly on a Mac, so it just won't work and none of the issues have a solution. Great work though. As previously mentioned this plugin works and installation is easier.
from zsh-yarn-autocompletions.
Related Issues (20)
- Adding frequently installed packages
- Auto completion for: yarn <a built-in command> HOT 5
- zplugin support? HOT 4
- Doesn't display commands with : in their names HOT 2
- Zplug installation broken for v2.0.0 HOT 1
- Cannot make it work with version 2 HOT 7
- Not working - shows file autocomplete instead HOT 27
- Latest (V2.0.0) yarn-autocompletions_linux.tar.gz does not have latest code changes HOT 4
- File not found yarn-autocompletions_linux.zip for v2.0.1
- Lose the "-latest" in zplug.zsh.
- Autocompletion of node_modules/.bin HOT 1
- install.sh can't handle spaces in PATH to .oh-my-zsh (icloud Mobile\ Documents) HOT 1
- macbook: "yarn-autocompletions" cannot be opened because the developer cannot be verified HOT 4
- Fallback to filename suggestions when there are no applicable suggestions HOT 3
- Suggestions do not handle scripts containing `:` in other workspaces HOT 6
- How do I enable using Fig? HOT 1
- Differences from yarn-completions? HOT 2
- Error `exec format error` HOT 3
- Install script can't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zsh-yarn-autocompletions.