zsh-snap
zsh-snap copied to clipboard
Ability to specify git commit hash when installing plugins using zsh-snap
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:
- In the
zshrc
file, the user specifies a plugin with a specific commit hash instead of just the plugin name or URL. - The
zsh-snap
plugin manager uses the commit hash specified in thezshrc
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 thezshrc
file, instead of always installing the latest version.