Skip to content

How to correctly use shtab #132

@JakobDev

Description

@JakobDev

shtab looks like a nice thing that I want to add to my programs. But there's one big question: How can I use shtab, so It's useable for end users? The documentation says, that end users can actually using the shtab cli or by adding a new cli option provided by shtab to the Program. But that is not very useful at all. The User first needs to know that this can be done. Putting it in some documentation where almost nobody reads it. And the User also needs to add it to the .bashrc or .zshrc to make it work on startup.

The completion should work out of the Box after installing. A solution would be to put the files in the specific directories (e.g. usr/share/bash-completion/completions), but this is not supported by pip.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions