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

[Feature] Build hook to be called after cloning #189

Open
marcosmoura opened this issue Sep 17, 2024 · 0 comments
Open

[Feature] Build hook to be called after cloning #189

marcosmoura opened this issue Sep 17, 2024 · 0 comments
Labels
feature New feature or request

Comments

@marcosmoura
Copy link

A few plugins that adds completions to a shell have an "install" process.

Example:
https://github.com/g-plane/pnpm-shell-completion
install.zsh generates a completion bin file that will later be used by the pnpm-shell-completion.plugin.zsh plugin file (that can be loaded by Sheldon).

Unless I am missing something, currently there is no way to execute that install.zsh file after cloning the repo.

My request here would be having some sort of hook to be called for build purposes. Something like that:

[plugins.pnpm-completion]
github = "g-plane/pnpm-shell-completion"

[plugins.pnpm-completion.hooks]
build = "install.sh"
@rossmacarthur rossmacarthur added the feature New feature or request label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants