Cleanup behavior to function when things are missing
This commit is contained in:
parent
999422da87
commit
12e3c5a470
14 changed files with 35 additions and 19 deletions
|
@ -1,3 +1,4 @@
|
|||
if [ -r /usr/bin/terraform ]; then
|
||||
complete -C /usr/bin/terraform terraform
|
||||
TERRAFORM_BIN=$(type -fP terraform | head -1)
|
||||
if [[ -n $TERRAFORM_BIN ]]; then
|
||||
complete -C $TERRAFORM_BIN terraform
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue