tofuutils / tenv

OpenTofu / Terraform / Terragrunt and Atmos version manager
https://tofuutils.github.io/tenv/
Apache License 2.0
434 stars 24 forks source link

Improve the ZSH completion guide #151

Open samuel-phan opened 1 month ago

samuel-phan commented 1 month ago

Describe the bug The ZSH completion instructions should include guidance for those using "Oh My Zsh" plugin.

To Reproduce N/A.

Expected behavior In the section https://github.com/tofuutils/tenv?tab=readme-ov-file#install-shell-completion , we should have zsh+Oh My Zsh instructions.

This guy explains a bit how zsh completion works: https://stackoverflow.com/a/66145365/3538173

It's more the idiomatic way to add a new zsh completion with Oh My Zsh, and the completion filename MUST be _tenv.

Screenshots N/A.

Environment (please complete the following information):

Additional context N/A.

kvendingoldo commented 1 month ago

@samuel-phan Thank you for the issue! Can you send a PR with updated documentation as you can see it, please?