Skip to content

shell completion should behave uniformly for bash and zsh when sourced #986

Closed
@srlehn

Description

@srlehn

I was under the assumption that because . <(app genshcomp) ("app genshcomp" returns shell completion code) worked for bash that the generated zsh code should behave the same for zsh. I can't see any reason to block this behaviour for zsh if only a single line has to be added (#887).

For my portable application I value the ability to directly inject the completion code into the running shell without having to save a temporary file or additional commands.

I suggest reopening #887, at least for me it works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions