News for hackers. Stuff that matters.
Re:What's Your Go to Command When You Open a Terminal? by brezelgoring on Tuesday November 09, 2021 @12:42PM (#29164747)
I always go to the same place, my programming directory, so for years I've done the sequence:

{cd Pr<tab><enter>cd c<tab><enter>}

Takes me to my current project folder, and there I can use gcc or vim or whatever I need to do. I thought about shortening it or setting my terminal to start in that directory but the ritual is important to me, it sets me in the right mood, for whatever reason.

Re:What's Your Go to Command When You Open a Terminal? by nicbou on Tuesday November 09, 2021 @07:49PM (#29169685)
I created a command that cd to the right project, and optionally start docker, dev tools and other things related to that project.