I am trying to create an alias for running codeception via terminal.
If I simply run:
php /users/craig/vendor/codeception/codeception/codecept
that works.
But if in my bash_profile I create an alias:
alias gcc=“php /users/craig/vendor/codeception/codeception/codecept”
and run it I receive:
-bash: “php: command not found
How can I do this? Thanks.
Have a look at the strange looking “
and change your line to
alias gcc="php /users/craig/vendor/codeception/codeception/codecept"