add fish config
This commit is contained in:
parent
8d69049251
commit
d968da0ae0
6 changed files with 326 additions and 0 deletions
13
.config/fish/completions/aws.fish
Normal file
13
.config/fish/completions/aws.fish
Normal 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)'
|
||||
Loading…
Add table
Add a link
Reference in a new issue