add bash-it
This commit is contained in:
10
dot_bash_it/completion/available/terraform.completion.bash
Normal file
10
dot_bash_it/completion/available/terraform.completion.bash
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Make sure terraform is installed
|
||||
_command_exists terraform || return
|
||||
|
||||
# Don't handle completion if it's already managed
|
||||
complete -p terraform &>/dev/null && return
|
||||
|
||||
# Terraform completes itself
|
||||
complete -C terraform terraform
|
||||
Reference in New Issue
Block a user