I got gulp installed via npm. When I execute gulp in any folder it works as expected. But when I'm in a folder which contains a folder named gulp, it changes the directory (cd) into this folder instead of executing the command.

How can I fix this?


Well; I found out, that the issue can be fixed by moving the export PATH= ... line to the very end of the ~/.zshrc file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.