This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Lawrence Lagerlof
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.shanywhere. -
sourcethe script on your.bashrc(add the linesource /path/to/script/autoleap.shto the end of your.bashrc) - Reopen the terminal (or source
.bashrc) - Be happy.
This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Lawrence Lagerlof
Lawrence Lagerlof | Sciencx (2023-01-17T20:18:00+00:00) Autoleap – A very useful tool for Linux bash users. Retrieved from https://www.scien.cx/2023/01/17/autoleap-a-very-useful-tool-for-linux-bash-users/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.
