Skip to content

Fix shell completion after changing axii to be the main script (and armarx-setup a symlink)

Rainer Kartmann requested to merge fix/shell-completion into dev

When we changed bin/axii to the main script and bin/armarx-setup just a symlink (before it was the other way round), we also broke the shell completion, as click now expects another env var to be set:

    response=$(env COMP_WORDS="${COMP_WORDS[*]}" COMP_CWORD=$COMP_CWORD _ARMARX_SETUP_COMPLETE=bash_complete $1)

should be

    response=$(env COMP_WORDS="${COMP_WORDS[*]}" COMP_CWORD=$COMP_CWORD _AXII_COMPLETE=bash_complete $1)

Merge request reports