Autoleap - automatically leap into any previously visited directory

llagerlof

Lawrence Lagerlof

Posted on January 17, 2023

Autoleap - automatically leap into any previously visited directory

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:

Image showing how to use the tool

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 line source /path/to/script/autoleap.sh to the end of your .bashrc)
  • Reopen the terminal (or source .bashrc)
  • Be happy.
💖 💪 🙅 🚩
llagerlof
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.

Related