Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
warrensbox committed Feb 5, 2021
1 parent 3bc22d8 commit 21bcedf
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,17 @@ version = "0.11.3"
3. Run the command `tfswitch` in the same directory as your `.tfswitchrc`

#### *Instead of a `.tfswitchrc` file, a `.terraform-version` file may be used for compatibility with [`tfenv`](https://github.com/tfutils/tfenv#terraform-version-file) and other tools which use it*

## Order of precedence

| Order | Method |
| --- | ----------- |
| 1 | .tfswitch.toml |
| 2 | .tfswitchrc |
| 3 | .terraform-version |
| 4 | environment variable |
With 1 being the highest precedence and 4 the lowest
*(If you disagree with this order of precedence, please open an issue)*
## Automation
**Automatically switch with bash**

Add the following to the end of your `~/.bashrc` file:
Expand Down

0 comments on commit 21bcedf

Please sign in to comment.