diff --git a/libexec/tfenv-help b/libexec/tfenv-help index b9c9c85..80c26e9 100755 --- a/libexec/tfenv-help +++ b/libexec/tfenv-help @@ -11,6 +11,7 @@ Commands: list List all installed versions list-remote List all installable versions version-name Print current version + init Update environment to use 'tfenv' correctly. '; exit 0; diff --git a/libexec/tfenv-init b/libexec/tfenv-init new file mode 100755 index 0000000..870c14d --- /dev/null +++ b/libexec/tfenv-init @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +[ -n "${TFENV_DEBUG}" ] && set -x + +export PATH="${TFENV_ROOT}/bin:${PATH}"