Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown command terraform #534

Open
jcollado opened this issue Oct 16, 2024 · 0 comments · May be fixed by #535
Open

Unknown command terraform #534

jcollado opened this issue Oct 16, 2024 · 0 comments · May be fixed by #535
Labels
🐛 bug Something isn't working

Comments

@jcollado
Copy link

Describe the bug

When I access the directory of a conda or pixi environment which is not activated by default and that environment uses terraform, I get the following error because terraform is not available:

❯ fish: Unknown command: terraform                                                                                                                                           
~/.config/fish/functions/_tide_item_terraform.fish (line 3):                                                                                                                 
        terraform workspace show | string match -v default | read -l w &&                                                                                                    
        ^~~~~~~~^                                                                                                                                                            
in function '_tide_item_terraform'                                                                                                                                           
        called on line 15 of file ~/.config/fish/functions/_tide_2_line_prompt.fish 

Steps to reproduce

  1. Create a test directory with a .terraform subdirectory: mkdir -p /tmp/test/.terraform
  2. Change to the test directory: cd /tmp/test
  3. See error from description

Environment

Output of tide bug-report:

fish version: 3.7.0
tide version: 6.1.1
term: screen-256color
os: 
terminal emulator: gnome-terminal
fish startup: 376.04 millis
fisher plugins: jorgebucaran/fisher meaningful-ooo/sponge ilancosman/tide@v6 jorgebucaran/nvm.fish jethrokuan/z franciscolourenco/done patrickf1/fzf.fish

Additional context

@jcollado jcollado added the 🐛 bug Something isn't working label Oct 16, 2024
@jcollado jcollado linked a pull request Oct 16, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant