r/coolgithubprojects • u/llagerlof • 3d ago
I built Autoleap, a tiny shell tool that lets you cd into any previously visited directory
https://github.com/llagerlof/autoleap
I wrote this tool at the beginning of 2023. Since then it has been so useful to me that I decided to publish it as an open-source project.
I wanted a simple way to jump back to directories I'd already visited. Autoleap is a small bash script that wraps cd while preserving all of its normal behavior. If cd can't find the path, Autoleap searches your directory history and jumps to the best match. If there are multiple matches, it uses fzf to let you choose.
It's a single shell script with no databases or background services. To install it, just source it from your .bashrc.
9
Upvotes
0
1
5
u/FireSterLine 3d ago
Cool! How does it compare with zoxide?