Open kartagis opened 4 months ago
% echo $SHELL
/bin/zsh
% /bin/zsh --version
zsh 5.8.1 (x86_64-apple-darwin22.0)
% composer --version
Composer version 2.7.1 2024-02-09 15:26:28
% composer show --no-dev --direct --name-only|xargs
composer/installers cweagans/composer-patches drupal/core-composer-scaffold drupal/core-recommended drush/drush oomphinc/composer-installers-extender symfony/filesystem
% ls -lhA .lando.yml
-rw-r--r--@ 1 ruben.varela 513 320B Mar 9 12:14 .lando.yml
On ZSH, on composer 2.7.1, on my side I can't recreate it.
No oh-my-zsh though.
I'm on zsh as well, composer 2.6.6, haven't been able to recreate.
Trying hard to think of a mechanism here that would cause that behavior. Does the same thing happen on other projects with .lando.yml
? Does it happen if you run the command without |xargs
? @kartagis
This seems like something with the environment such as an alias, function, or oh-my-zsh plugin that's responding to the presence of the .lando.yml when you're running a composer command. Are you using any plugins like this? https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/lando
I came across this by accident but this is the behaviour I'm getting.
I'm on macOS Sonoma 14.3.1 with zsh. I'm also using oh-my-zsh if it helps. Composer is on the host and version is 2.7.1