Skip to content

Commit

Permalink
docs: add Oh My Zsh completion
Browse files Browse the repository at this point in the history
fix #151

Signed-off-by: Samuel Phan <samuel@quoonel.com>
  • Loading branch information
samuel-phan authored and Nmishin committed Sep 30, 2024
1 parent 63f3e3e commit 133d978
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,19 @@ echo "source \$HOME/.tenv.completion.zsh" >> ~/.zshrc
```
</details>

<details><summary><b>Oh My Zsh</b></summary><br>

```console
tenv completion zsh > ~/.oh-my-zsh/completions/_tenv
```

Make sure the completions folder `~/.oh-my-zsh/completions` is listed under `$fpath`:

```console
print -l $fpath
```
</details>

<details><summary><b>powershell</b></summary><br>

```console
Expand Down Expand Up @@ -849,7 +862,7 @@ Same as TENV_ROOT (compatibility with [tofuenv](https://github.com/tofuutils/tof
String (Default: `https://github.com/opentofu/opentofu/releases/download/v{{ .Version }}/{{ .Artifact }}`)

Used when TOFUENV_INSTALL_MODE is "mirror" (see [TofuDL mirror specification](https://github.com/opentofu/tofudl/blob/mirror-spec/MIRROR-SPECIFICATION.md)).

</details>


Expand Down

0 comments on commit 133d978

Please sign in to comment.