Add Terraform autocomplete
This commit is contained in:
parent
ccbfdf3ec0
commit
c396e838ca
@ -94,6 +94,15 @@ if has kubectl; then
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
if has terraform; then
|
||||||
|
case "$_baseshell" in
|
||||||
|
*bash)
|
||||||
|
complete -C "$(which terraform)" terraform
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
# Set up go, if we have it
|
# Set up go, if we have it
|
||||||
if has go; then
|
if has go; then
|
||||||
|
Loading…
Reference in New Issue
Block a user