Skip to content

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

Description

@marcosmoura

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"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions