Skip to content

Commit

Permalink
Updated external docs
Browse files Browse the repository at this point in the history
  • Loading branch information
warrensbox committed Apr 16, 2020
1 parent 9bc1a5a commit 1514b14
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/_site/additional.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{"description":"A command line tool to switch between different versions of terraform (with homebrew and more)","@type":"WebPage","url":"/additional.html","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"/assets/img/logo.png"}},"headline":"tfswitch","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->

<link rel="stylesheet" href="/assets/css/style.css?v=b5b33214feb3a399d34b298c9f042c338c11df4f">
<link rel="stylesheet" href="/assets/css/style.css?v=9bc1a5ab8fac548210fdbf7d098f02919317ec3c">
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<![endif]-->
Expand Down
7 changes: 4 additions & 3 deletions docs/_site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{"name":"tfswitch","description":"A command line tool to switch between different versions of terraform (with homebrew and more)","@type":"WebSite","url":"/","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"/assets/img/logo.png"}},"headline":"Terraform Switcher","@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->

<link rel="stylesheet" href="/assets/css/style.css?v=b5b33214feb3a399d34b298c9f042c338c11df4f">
<link rel="stylesheet" href="/assets/css/style.css?v=9bc1a5ab8fac548210fdbf7d098f02919317ec3c">
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<![endif]-->
Expand Down Expand Up @@ -146,6 +146,7 @@ <h3 id="use-versiontf-file">Use version.tf file</h3>
}
</code></pre></div></div>
<p><img src="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/tfswitch/versiontf.gif" alt="drawing" style="width: 170px;" /></p>

<h3 id="use-tfswitchtoml-file--for-non-admin---users-with-limited-privilege-on-their-computers">Use .tfswitch.toml file (For non-admin - users with limited privilege on their computers)</h3>
<p>This is similiar to using a .tfswitchrc file, but you can specify a custom binary path for your terraform installation</p>

Expand Down Expand Up @@ -184,7 +185,7 @@ <h3 id="use-tfswitchrc-file">Use .tfswitchrc file</h3>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>cdtfswitch(){
builtin cd "$@";
cdir=$PWD;
if [ -f "$cdir/.tfswitchrc" ]; then
if [ -e "$cdir/.tfswitchrc" ]; then
tfswitch
fi
}
Expand Down Expand Up @@ -215,7 +216,7 @@ <h3 id="use-tfswitchrc-file">Use .tfswitchrc file</h3>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>cd(){
builtin cd "$@";
cdir=$PWD;
if [ -f "$cdir/.tfswitchrc" ]; then
if [ -e "$cdir/.tfswitchrc" ]; then
tfswitch
fi
}
Expand Down
6 changes: 4 additions & 2 deletions docs/_site/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ terraform {
}
```
<img src="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/tfswitch/versiontf.gif" alt="drawing" style="width: 170px;"/>


### Use .tfswitch.toml file (For non-admin - users with limited privilege on their computers)
This is similiar to using a .tfswitchrc file, but you can specify a custom binary path for your terraform installation

Expand Down Expand Up @@ -106,7 +108,7 @@ Add the following to the end of your `~/.bashrc` file:
cdtfswitch(){
builtin cd "$@";
cdir=$PWD;
if [ -f "$cdir/.tfswitchrc" ]; then
if [ -e "$cdir/.tfswitchrc" ]; then
tfswitch
fi
}
Expand Down Expand Up @@ -138,7 +140,7 @@ load-tfswitch
cd(){
builtin cd "$@";
cdir=$PWD;
if [ -f "$cdir/.tfswitchrc" ]; then
if [ -e "$cdir/.tfswitchrc" ]; then
tfswitch
fi
}
Expand Down
6 changes: 4 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ terraform {
}
```
<img src="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/tfswitch/versiontf.gif" alt="drawing" style="width: 170px;"/>


### Use .tfswitch.toml file (For non-admin - users with limited privilege on their computers)
This is similiar to using a .tfswitchrc file, but you can specify a custom binary path for your terraform installation

Expand Down Expand Up @@ -106,7 +108,7 @@ Add the following to the end of your `~/.bashrc` file:
cdtfswitch(){
builtin cd "$@";
cdir=$PWD;
if [ -f "$cdir/.tfswitchrc" ]; then
if [ -e "$cdir/.tfswitchrc" ]; then
tfswitch
fi
}
Expand Down Expand Up @@ -138,7 +140,7 @@ load-tfswitch
cd(){
builtin cd "$@";
cdir=$PWD;
if [ -f "$cdir/.tfswitchrc" ]; then
if [ -e "$cdir/.tfswitchrc" ]; then
tfswitch
fi
}
Expand Down

0 comments on commit 1514b14

Please sign in to comment.