Skip to content

Supressing output from completion script #506

Closed
@kevinoid

Description

@kevinoid

While tracking down a syntax error in a bash completion script, I noticed that stdout and stderr are redirected to /dev/null for all completion scripts. It looks like this has been present since 20c05b4, and probably for good reason, but it seems like a big hammer which may be papering over many errors (such as the one I eventually tracked down to a syntax error, due to a missing ;). Since I hadn't seen it discussed before, I'm opening this issue to discuss what problems it may be solving and whether it's the best approach.

Thanks for considering,
Kevin

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