Comment

Comment by sandreas

The author missed to mention one of my favorite tricks to change back in to the last visited directory:

  cd -
Hint: Change into directory called '-' can be done by

  cd ./-
I also use the mkcd alias / function:

  mkcd() { mkdir -p "$@" && cd !$; }
This allows creating multiple dirs and cd into the first one.

  mkcd test1 test2 test3
parent sandreas 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton