-
Notifications
You must be signed in to change notification settings - Fork 0
Features
Avindra Goolcharan edited this page Jan 19, 2021
·
12 revisions
$ dir
Just run dir. You will be asked to select one of the bookmarked directories.
After picking a directory, your shell is cd to it thereafter.
It's a fast way one might change their working directory to another of the common directories they might use.
Internally, dir uses pushd, which means you can use cd - or popd to get back to the folder you were in before.
dir now has a driller feature. Use it by passing a directory as the first argument to dir. For example, to get a dir picker using your current working directory, run dir . The switcher will locate all the shallow subdirectories in the specified folder and present it to you.