Skip to content

Conversation

robertek
Copy link
Contributor

@robertek robertek commented May 5, 2021

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

@jeffreytse jeffreytse self-requested a review May 6, 2021 04:37
@jeffreytse jeffreytse self-assigned this May 6, 2021
@jeffreytse jeffreytse added the enhancement New feature or request label May 6, 2021
Copy link
Owner

@jeffreytse jeffreytse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this standard handling can get many benefits.

@jeffreytse jeffreytse merged commit 1c48705 into jeffreytse:master May 6, 2021
jeffreytse pushed a commit that referenced this pull request May 6, 2021
For all kinds of plugin managers to get the plugin’s location properly, we need to handle `$0` correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants