Register
It is currently Fri Jul 25, 2014 7:05 pm

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:

Code:
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!

http://wiki.github.com/joelthelion/autojump


Top
 Profile  
 PostPosted: Fri Apr 24, 2009 3:58 am   

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

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?

Greetings,
Pieter


Top
 Profile  
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: No registered users and 1 guest


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:  
cron


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP