Has anybody been able to set up auto-complete for the AWS CLI with fish shell? The AWS documentation only offers the guide for bash, tcsh, and zsh.
Bash exports the variables COMP_LINE
and COMP_POINT
that is used by the aws_completer script provided by the Amazon. Is there any equivalent for fish? I'm new with the fish shell and I'm giving it a try.
Add this line to your
.config/fish/config.fish
In case you want to make sure that aws-cli is installed:
All credits belong to this issue thread and a comment by an awesome SO contributor @scooter-dangle.