Skip to content

Bash completions can't be used in ZSH #8

Open
@cj123

Description

@cj123

Bash completions in zsh in macOS do not work correctly. the first command e.g. tid e[TAB] works correctly, but then the subcommands of this fail to load, instead the main commands are listed again as well as the following error:

_tid_get_args:2: bad option: -a

I had a quick look into the completions, and by changing

    IFS=", " read -r -a RAW_PATH <<< "$COMP_LINE"

to

    IFS=", " read -r -A RAW_PATH <<< "$COMP_LINE"

the issue was fixed. I do not however know the implications of this on the bash completions on other platforms.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions