tide
tide copied to clipboard
Unknown command terraform
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
- Create a
testdirectory with a.terraformsubdirectory:mkdir -p /tmp/test/.terraform - Change to the
testdirectory:cd /tmp/test - 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