Make a zsh function alias to enforce using yarn commands when in a yarn project
lessonDuration 1m 50sFree
When you or your team work on various npm or yarn projects it gets hard to remember which one is which. This lesson shows you how to create a custom `npm` zsh function alias to remind yourself to use yarn commands when there is a `yarn.lock` file in the directory.