Implement 2 paragraphs (1st and 5th) of the plugin standard#124
Open
psprint wants to merge 1 commit intotarjoilija:masterfrom
psprint:master
Open
Implement 2 paragraphs (1st and 5th) of the plugin standard#124psprint wants to merge 1 commit intotarjoilija:masterfrom psprint:master
psprint wants to merge 1 commit intotarjoilija:masterfrom
psprint:master
Conversation
|
this is awesome. |
Author
|
Hi. |
jandamm
pushed a commit
to jandamm/zgenom
that referenced
this pull request
Sep 19, 2020
I thought that I'll implement some of the paragraphs of the plugin standard. The PR implements paragraph 1 and 5: 1. Provide the $ZERO parameter – a sister parameter to the $0. 2. Provide the $zsh_loaded_plugins array. http://zdharma.org/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html Closes tarjoilija/zgen#124
jandamm
added a commit
to jandamm/zgenom
that referenced
this pull request
Dec 11, 2020
1. Standardized $0 Handling - Yes 2. Functions Directory - Yes 3. Binaries Directory - Sort of* 4. Unload Function - Doesn't apply 5. @zsh-plugin-run-on-unload Call - Doesn't apply 6. @zsh-plugin-run-on-update Call - No 7. Plugin Manager Activity Indicator - Yes 8. Global Parameter ZPFX - Yes 9. Global Parameter holding capabilities - Yes \* I don't think it is a good idea to automatically add every `bin` folder to the PATH. If the user wants this `zgenom bin <repo>` does so. Closes #27 Closes tarjoilija/zgen#104 Closes tarjoilija/zgen#124
jandamm
added a commit
to jandamm/zgenom
that referenced
this pull request
Dec 16, 2020
1. Standardized $0 Handling - Yes 2. Functions Directory - Yes 3. Binaries Directory - Sort of* 4. Unload Function - Doesn't apply 5. @zsh-plugin-run-on-unload Call - Doesn't apply 6. @zsh-plugin-run-on-update Call - No 7. Plugin Manager Activity Indicator - Yes 8. Global Parameter ZPFX - Yes 9. Global Parameter holding capabilities - Yes \* I don't think it is a good idea to automatically add every `bin` folder to the PATH. If the user wants this `zgenom bin <repo>` does so. Closes #27 Closes tarjoilija/zgen#104 Closes tarjoilija/zgen#124
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I thought that I'll implement some of the paragraphs of the plugin standard. The PR implements paragraph
1and5:$ZEROparameter – a sister parameter to the$0.$zsh_loaded_pluginsarray.The details are on the link. The PR doesn't cover Prezto modules, however they don't rely on
$ZEROand$zsh_loaded_pluginsparameters. The standard has some adoption now, e.g.:GitHub search. Most of the plugins are mine, however c.a. 50% are other authors.
Example
init.zshgenerated: