DEV Community

Visakh Vijayan
Visakh Vijayan

Posted on

One step closer to starting projects

The first step to starting projects is to find a place to make it. And this usually happens in our favourite project locations.

  1. We open our terminal
  2. Do cd after cd to reach that sweet spot
  3. And then make it mkdir

Today, we talk about a no-brainer. We create an alias to our projects folder in zsh so that finding the sweet spot is easier.

Here is what you need to do -

Open zsh

nano ~/.zshrc
Enter fullscreen mode Exit fullscreen mode

Add an alias

alias proj="cd /Users/your-username/path/to/projects"
Enter fullscreen mode Exit fullscreen mode

Reload the shell

source ~/.zshrc
Enter fullscreen mode Exit fullscreen mode

Reach the spot

proj
Enter fullscreen mode Exit fullscreen mode

And now you are thinking - shit, I just wasted another 2 minutes of my life. Rofl.

Happy coding!

Top comments (0)