Closed mxinden closed 6 years ago
@squat As far as I know editing $PATH
invalidates the caches by default, right?
Leaving the last review to @zbwright. Not sure, merging into master is the right process, or whether it should go somewhere else.
@mxinden AFAIK it does not. if you spawn a new shell then normally $PATH is re-read. In any case, this is not needed for the docs, just reminiscing.
Merging to master is the right process - my question to @joshix will be whether it should be back-ported to previous doc versions as well.
In Unix systems, the $PATH is searched from the beginning to end. Thereby paths mentioned first take precedence over paths mentioned later. The shipped
terraform
binary should be choosen before a possible locally installedterraform
binary. This patch makes sure, the shipped version takes precedence over any other possible local version.@alexsomesan @squat Please correct me if I am wrong.