This is definitely still a thing.
Related links:
- WP CLI errors, "Failed loading ... opcache.so" "xdebug.so" and "Warning: PHP Startup: Unable to load dynamic library ... imagick.so" code unsigned - #29 by ipstenu
- Local Lightning PHP 8 "Open Site Shell" does not work on ZSH
- How do I run wp-cli without clicking Open Site Shell? - #2 by alexclst
- Site shell not using LocalWP's PHP
I had to build a crazy hack with a wp
alias that runs Local’s variables before every wp cli call. Dot-Files/wplocal at master · jtsternberg/Dot-Files · GitHub (and Dot-Files/_wplocalgenerate at master · jtsternberg/Dot-Files · GitHub)
LocalWP team, when will this be addressed?