Created
February 8, 2018 19:56
-
-
Save Locoxella/0f7818123fb71896951084aba92fe3bc to your computer and use it in GitHub Desktop.
awscli autocomplete on fish
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env fish | |
# | |
# Configure autocomplete for fish since aws has it disabled yet | |
# | |
# More info: https://aws.uservoice.com/forums/598381-aws-command-line-interface/suggestions/33168313-autocomplete-for-fish-shell | |
# Credits: https://github.com/otakumike, http://stackoverflow.com/users/808850/scooter-dangle | |
# | |
complete --command aws --no-files --arguments '(begin; set --local --export COMP_SHELL fish; set --local --export COMP_LINE (commandline); aws_completer | sed \'s/ $//\'; end)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Or, with omf, you can install aws plugin https://github.com/oh-my-fish/plugin-aws