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

Feat: Single file plugins/compleaters #20

Open
simsrw73 opened this issue Nov 10, 2022 · 5 comments
Open

Feat: Single file plugins/compleaters #20

simsrw73 opened this issue Nov 10, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@simsrw73
Copy link

zapplug "https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/plugins/git/git.plugin.zsh"

zapcmp "https://raw.githubusercontent.com/docker/cli/master/contrib/completion/zsh/_docker"

@ChristianChiarulli ChristianChiarulli added the enhancement New feature or request label Nov 10, 2022
@ChristianChiarulli ChristianChiarulli moved this to Todo in Zap Nov 10, 2022
@Cobalt-Inferno
Copy link
Contributor

Pull request #26 patches this in.

@wintermi
Copy link
Contributor

Single file or local plugin (directory) can be installed via:

# Single File
plug "$HOME/.config/zsh/aliases.zsh"

# Local Plugin
plug "$HOME/code/supercharge"

@wintermi wintermi moved this from Todo to Done in Zap Feb 19, 2023
@simsrw73
Copy link
Author

Single file or local plugin (directory) can be installed via:

# Single File
plug "$HOME/.config/zsh/aliases.zsh"

# Local Plugin
plug "$HOME/code/supercharge"

This doesn't satisfy the feat request above. It doesn't add anything useful that zsh doesn't provide natively. IMO, a plugin manager, at a minimum, should support two features: 1) install plugins; 2) manage updates. This does neither with regards to the single file plugins mentioned above. I love and applaud the minimal goal. But for my purposes, Zap fails for leaning to far toward the minimal and not being complete. I was hoping for something between the two extremes of a simple handwritten load function and one of the many over-the-top 10k lines of wacky. This is too close to the former; that's fine if that is your goal; no offense intended. For now, for me, I've settled on antidote, probably still a little much, but it meets my min reqs for a plugin manager.

@wintermi wintermi reopened this Feb 20, 2023
@wintermi wintermi moved this from Done to Todo in Zap Feb 20, 2023
@wintermi
Copy link
Contributor

My mistake, I misunderstood the original request. So reopened.

@daweiyuanzhang
Copy link

Hello, may I ask when this function will be implemented?

My mistake, I misunderstood the original request. So reopened.

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
Status: Todo
Development

No branches or pull requests

5 participants