Skip to content

[feat]: Create scripts instead of functions for node/pip #24

@jankatins

Description

@jankatins

If the feature request is for a plugin or theme, specify it here.

No response

If the feature solves a problem you have, specify it here.

Functions are not available in scripts, meaning I cannot use cli commands installed with node/pip in shell scripts.

Describe the proposed feature.

It would be nice to make the wrapper scripts available as real scripts instead of functions. So basically a 'snode' or 'spip' ice.

Describe alternatives you've considered

One can combine node+ sbin to eseestially create this, but it needs knowledge of the directory structure instead of having that baked in:

functions

zinit id-as"devcontainers-cli" node'devcontainer <- !@devcontainers/cli -> devcontainer'  \
  as"null" for @zdharma-continuum/null

vs this which produces scripts

zinit id-as"devcontainers-cli" node'@devcontainers/cli' sbin'n:node_modules/.bin/devcontainer -> devcontainer;' \
  as"null" for @zdharma-continuum/null

Additional context

No response

Related Issues

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions