mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-14 05:42:46 +08:00
Add completions for Google Cloud commands. (#11005)
Some checks are pending
make test / ubuntu (push) Waiting to run
make test / ubuntu-32bit-static-pcre2 (push) Waiting to run
make test / ubuntu-asan (push) Waiting to run
make test / macos (push) Waiting to run
Rust checks / rustfmt (push) Waiting to run
Rust checks / clippy (push) Waiting to run
Some checks are pending
make test / ubuntu (push) Waiting to run
make test / ubuntu-32bit-static-pcre2 (push) Waiting to run
make test / ubuntu-asan (push) Waiting to run
make test / macos (push) Waiting to run
Rust checks / rustfmt (push) Waiting to run
Rust checks / clippy (push) Waiting to run
The `gcloud` and `gsutil` Google Cloud commands use argcomplete, so integrating them is easy with the `__fish_argcomplete_complete` function.
(cherry picked from commit d842a6560e
)
This commit is contained in:
parent
92919effc5
commit
44a8344da1
1
share/completions/gcloud.fish
Normal file
1
share/completions/gcloud.fish
Normal file
|
@ -0,0 +1 @@
|
||||||
|
complete -c gcloud -f -a '(__fish_argcomplete_complete gcloud)'
|
1
share/completions/gsutil.fish
Normal file
1
share/completions/gsutil.fish
Normal file
|
@ -0,0 +1 @@
|
||||||
|
complete -c gsutil -f -a '(__fish_argcomplete_complete gsutil)'
|
Loading…
Reference in New Issue
Block a user