Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zsh-autosuggestions.plugin.zsh: respect the standard #617

Closed
wants to merge 1 commit into from

Conversation

jeffreytse
Copy link

There is a need to handle $0 correctly for all package managers. For example zpm define ZERO before plug-in is sourced.

See: https://github.com/zdharma/Zsh-100-Commits-Club/blob/master/Zsh-Plugin-Standard.adoc#zero-handling

For all kinds of plugin managers to get the plugin’s location properly, we need to handle `$0` correctly.
@jirutka
Copy link
Contributor

jirutka commented Aug 7, 2022

The provided link doesn’t work anymore, the up-to-date version is on https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html#zero-handling.

@z0rc
Copy link

z0rc commented Aug 8, 2022

This isn't a standard in any way. And given history of zdharma's author, I doubt it's valuable addition to Zsh plugin ecosystem.

@jirutka
Copy link
Contributor

jirutka commented Aug 8, 2022

I don’t know zdharma’s history. I judge this spec only based on the content and I find it useful.

@ericfreese
Copy link
Member

I believe I've addressed this in #759.

@ericfreese ericfreese closed this Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants