79159672

Date: 2024-11-05 15:13:59
Score: 1
Natty:
Report link

Your understanding of alias is correct. It looks like it's comes from the ” character instead of "

alias composer=”php /usr/local/bin/composer/composer.phar”

this is why you got

zsh: command not found: ”php

and not

zsh: command not found: php

Maybe try like this:

alias composer="php /usr/local/bin/composer/composer.phar"

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: MG1616