mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2025-01-22 08:04:18 +00:00
Dynamically generate completions for some tools that offer them
This commit is contained in:
parent
bca70512b4
commit
d10c205737
16
assets/default/fish/completions/dynamic.fish
Normal file
16
assets/default/fish/completions/dynamic.fish
Normal file
@ -0,0 +1,16 @@
|
||||
# Generate and source completions for fish
|
||||
|
||||
# Source kubectl completions
|
||||
if type -q kubectl
|
||||
kubectl completion fish | source
|
||||
end
|
||||
|
||||
# Source colima completions
|
||||
if type -q colima
|
||||
colima completion fish | source
|
||||
end
|
||||
|
||||
# Source golangci-lint completions
|
||||
if type -q golangci-lint
|
||||
golangci-lint completion fish | source
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user