Open5

Figを使ってみる

HarukiHaruki

brew install fig して手順に従う
インストールまではできた

HarukiHaruki

ターミナル (zsh) を起動すると次のように表示される

/Users/<username>/.fig/shell/zprofile.pre.zsh:1: no such file or directory: /Users/<username>/.local/bin/fig
/Users/<username>/.fig/shell/zprofile.post.zsh:1: no such file or directory: /Users/<username>/.local/bin/fig
/Users/<username>/.fig/shell/zshrc.pre.zsh:1: no such file or directory: /Users/<username>/.local/bin/fig
/Users/<username>/.fig/shell/zshrc.post.zsh:1: no such file or directory: /Users/<username>/.local/bin/fig
HarukiHaruki

fig doctorにエラーが出ているのでとりあえず修正していく

~ $ fig doctor
✘ PATH contains ~/.local/bin: Path does not contain ~/.local/bin
✘ Doctor found errors. Please fix them and try again.
If you are not sure how to fix it, please open an issue with fig issue to let us know!
Or, email us at hello@fig.io!

~/.local/bin を追加

~ $ fig doctor     
✘ PATH contains ~/.fig/bin: Path does not contain ~/.fig/bin
✘ Doctor found errors. Please fix them and try again.
If you are not sure how to fix it, please open an issue with fig issue to let us know!
Or, email us at hello@fig.io!

~/.fig/bin を追加

~ $ fig doctor     
✘ Fig Integration: Figterm is not running
  FIG_INTEGRATION_VERSION=None
✘ Doctor found errors. Please fix them and try again.
If you are not sure how to fix it, please open an issue with fig issue to let us know!
Or, email us at hello@fig.io!
HarukiHaruki

そもそも ~/.local/bin が存在しないので良くない気がする