add fish config

This commit is contained in:
RafayAhmad7548 2026-05-01 14:29:29 +05:00
parent 8d69049251
commit d968da0ae0
Signed by: RafayAhmad
SSH key fingerprint: SHA256:WURX8viobA1uawb4dWM3LqYrY+XPcZcXhAXAlrYdhtE
6 changed files with 326 additions and 0 deletions

View file

@ -0,0 +1,13 @@
function __aws_complete
set --local --export COMP_SHELL fish
set --local --export COMP_LINE (commandline -pc)
if string match -q -- - (commandline -pt)
set COMP_LINE "$COMP_LINE-"
end
aws_completer | command sed 's/ $//'
end
# Enable AWS CLI autocompletion: github.com/aws/aws-cli/issues/1079
complete --command aws --no-files --arguments '(__aws_complete)'