How do i setup aws bash cli command line completion on redhat?
-
For other shells see this link: https://docs.aws.amazon.com/cli/latest/userguide/cli-command-completion.html
Note: The path of your scripts could be different.
complete -C '/usr/local/aws/bin/aws_completer' aws
Add the entry to you /home/youruser/.bashrc
or you can add the provided bash script to the /etc/bash_completion.d directory.
$ cd /etc/bash_completion.d $ ln -s /usr/local/aws/bin/aws_bash_completer
© Lightnetics 2024