DEV Community

Discussion on: One bash command to start the day 🌅

Collapse
 
dlamblin profile image
Daniel Lamblin

This changed my life with bash:

CDPATH The search path for the cd command.  This is  a  
       colon-separated list  of  directories  in  which the
       shell looks for destination directories specified by
       the cd  command.   A  sample  value  is ".:~:/usr".

EG put all your projects in a project directory, add it to your CDPATH, and you can tab complete your project directory names with cd from any path any time.