miactl bash autocompletion setup returns error
nicola88 opened this issue · comments
In the miactl setup page, the command provided to configure bash auto-completion returns an error on Ubuntu 22.04 using bash-autocompletion
with version 2.11.
$ miactl completion bash >/usr/local/etc/bash_completion.d/miactl
bash: /usr/local/etc/bash_completion.d/miactl: No such file or directory
I got it working by moving it inside /etc/bash_completion.d/miactl
Suggestions
Update the documentation with the correct command or specify to which OS the provided command applies to and, for other platforms, provide alternative commands or redirect to external documentation.