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

Ability to specify git commit hash when installing plugins using zsh-snap #236

Open
mehanoid opened this issue Apr 26, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@mehanoid
Copy link

What do you want?

I want to be able to specify a particular git commit of a plugin to install using zsh-snap.

Why do you want this?

Sometimes a plugin update can introduce a bug or a breaking change that could affect my workflow. In such cases, I would like to be able to specify a specific version (a git commit) of the plugin to install.

Who else would benefit from this?

All users of zsh-snap who want to control which version of a plugin to install would benefit from this feature.

How should it work?

Given this situation:

  • A user has a plugin list in their zshrc file, and they want to specify a particular git commit of a plugin to install.

When I perform these steps:

  1. In the zshrc file, the user specifies a plugin with a specific commit hash instead of just the plugin name or URL.
  2. The zsh-snap plugin manager uses the commit hash specified in the zshrc file to download and install the specified version of the plugin.

Then I expect this to happen:

  • zsh-snap installs the plugin with the commit hash specified in the zshrc file, instead of always installing the latest version.
@mehanoid mehanoid added the enhancement New feature or request label Apr 26, 2023
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

No branches or pull requests

1 participant