You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
terraform -install-autocomplete for zsh ought to add lines to my .zshrc by finding the location of that file. It assumes the location is ~/.zshrc whereas the location depends on whether the environment variable ZDOTDIR is set.
Actual Behavior
$ terraform -install-autocomplete
Error executing CLI: Did not find any shells to install
Steps to Reproduce
Set ZDOTDIR and move .zshrc accordingly, restart shell and ensure .zshrc has been read OK.
terraform -install-autocomplete
Additional Context
Of course it's easy to work around this issue by creating a new file ~/.zshrc, running terraform -install-autocomplete, appending the contents of ~/.zshrc to $ZDOTDIR/.zshrc then deleting ~/.zshrc.