This powershell function allows you to bookmark a path and then effortlessly return to it at a later time.
To use j, first browse to a desired location, then run:
j set 1
This will set the current path as bookmark 1.
You can then run:
j 1
This will jump to that bookmark. Alternatively you can run the command without any arguments:
j
This will print out a list and let you choose a bookmark to jump to.
You can overwrite any bokmark by simply setting it again. Note that bookmarks must be numerical.
To delete an existing bookmark run:
j delete 1
This will delete bookmark 1.
The j script uses Skate for storing your bookmarks and Gum for UI.
To install the prerequisites, run:
winget install skate winget install gum
Copy and paste the function into your $PROFILE