withfig / autocomplete

IDE-style autocomplete for your existing terminal & shell

Home Page:https://fig.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[php artisan/composer] executeShellCommand times out

timboozle opened this issue · comments

Sanity checks

  • My issue relates to a specific CLI completion spec (e.g. git checkout is missing options in git completion spec). If your issue is more general, please create your issue here: withfig/fig
  • I have searched github.com/withfig/autocomplete/issues and there are no duplicates of my issue
  • I would like to work on this.

What CLI tool does this relate to?

php artisan/composer

Which statement makes the most sense?

There are errors with this completion spec

Issue Details

This might be an issue with other specs as well but I am testing with php artisan and composer.

Both time out when firing an executeShellCommand to respectively php artisan list --format=json and composer list --format=json.

When I go into development mode and change the commands to include the absolute path to the executables, it works without any issues.

Seems like an issue with $PATH but I can't find any issues on here about it.