Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Enable system package manager to install modules such as completions in system managed paths #11337

@alerque

Description

@alerque

Question

More and more projects are shipping with Nushell completion support (especially Rust based projects because of the pervasive use of Clap which generates Nushell completions). As a distro packager, where should these files get installed to a system such that Nushell will find and use them?

For examples from other shells, completions for foo would be in files:

#bash 
/usr/share/bash-completion/completions/foo

#zsh
/usr/share/zsh/site-functions/_foo

#fish
/usr/share/fish/vendor_completions.d/foo.fish

#elvish
/usr/share/elvish/lib/foo.elv

Where would a similar file go for Nushell?

Additional context and details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions