Lawrence Lagerlof
Posted on January 17, 2023
This script adds an amazing feature to the cd
command. It records (locally) the path of all directories you visit using cd
. When you want to access a previously visited directory, you just need to run cd part_of_directory_name
The script is very lightweight and fast. The image below shows how simple it is to use:
You can leap into any directory that exists in the history file, from anywhere.
Installation
- Access the GitHub project page.
- Download the script
autoleap.sh
anywhere. -
source
the script on your.bashrc
(add the linesource /path/to/script/autoleap.sh
to the end of your.bashrc
) - Reopen the terminal (or source
.bashrc
) - Be happy.
💖 💪 🙅 🚩
Lawrence Lagerlof
Posted on January 17, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.