Skip to content

Instantly share code, notes, and snippets.

@Asseel-Naji
Created May 18, 2023 01:51
Show Gist options
  • Save Asseel-Naji/857ffab65c0adb584d8f183cadcab4d9 to your computer and use it in GitHub Desktop.
Save Asseel-Naji/857ffab65c0adb584d8f183cadcab4d9 to your computer and use it in GitHub Desktop.
aws cli fish shell auto complete
# This functions exactly like bash aws_completer. add the following code to fish config.
function __fish_complete_aws
env COMP_LINE=(commandline -pc) aws_completer | tr -d ' '
end
complete -c aws -f -a "(__fish_complete_aws)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment