Fix the terraform function name

Current function name do worse. I always use `terr<TAB>` and before those prompt it was add space in the end. Now because we have multiple functions and binaries started with terraform there are no space.
This commit is contained in:
Michael Nikitochkin 2017-11-14 12:58:58 +01:00 committed by GitHub
commit 28c3ff3990
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
function terraform_prompt_info() {
function tf_prompt_info() {
# check if in terraform dir
if [ -d .terraform ]; then
workspace=$(terraform workspace show 2> /dev/null) || return