It is currently Tue Apr 24, 2018 12:34 am

Autojump: a faster way to navigate your filesystem

All times are UTC - 6 hours

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 PostPosted: Fri Feb 13, 2009 4:47 am   

Joined: Fri Feb 13, 2009 4:41 am
Posts: 1
One of the most used shell commands is "cd". A quick survey among my friends revealed that between 10 and 20% of all
commands they type are actually cd commands! Unfortunately, jumping from one part of your system to another with cd
requires to enter almost the full path, which isn't very practical and requires a lot of keystrokes.

To solve this problem, I wrote a small tool called autojump. Autojump works be learning which directories you spend the most time in. You then issue a jump command:

j pattern

That will bring you to the most used directory that matches pattern. In practice, only a few characters are needed, which is much faster than cd.

Autojump is written part in bash and part in python, and is written for bash (it should be portable to other shells, but doing so would require some work). For now autojump is only packaged for arch linux, but installation is very simple anyways.

Tell me what you think!

 PostPosted: Fri Apr 24, 2009 3:58 am   

Joined: Thu Apr 23, 2009 7:47 am
Posts: 5
Location: Belgium

Sounds interesting!

How does it start learning? Do you start using j like you use cd (i.e. with full and exact paths) or how does this work?


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours

Who is online

Users browsing this forum: Google [Bot] and 21 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  

BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group