Skip to content

Instantly share code, notes, and snippets.

@sk0x1234
Created July 15, 2020 12:47
Show Gist options
  • Save sk0x1234/4b9fadf7ae84aa06eb7e91913f69c4ba to your computer and use it in GitHub Desktop.
Save sk0x1234/4b9fadf7ae84aa06eb7e91913f69c4ba to your computer and use it in GitHub Desktop.
USE this
https://github.com/aws/aws-cli/issues/1079#issuecomment-541997810
Hello Folks! aws
I installed aws cli from pip3 --user
I couldn't find Completion for Fish shell in aws cli web page
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-completion.html
could you add this lines to the documentation in Enable Command Completion section:
fish
add this lines to your ~/.config/fish/config.fish
# Enable AWS CLI autocompletion: github.com/aws/aws-cli/issues/1079
complete --command aws --no-files --arguments '(begin; set --local --export COMP_SHELL fish; set --local --export COMP_LINE (commandline); aws_completer | sed \'s/ $//\'; end)'
kudos to cig0 for the fish's lines
Thanks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment