rupa / j
watch download tarball
public
Description: semi clone of autojump (http://github.com/joelthelion/autojump) in shell/awk
Homepage:
Clone URL: git://github.com/rupa/j.git
j / README
100644 34 lines (28 sloc) 1.207 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
** NOTE **
If you like this project, check out http://github.com/rupa/z
a complete rethink that the author is now using.
And maybe you're interested in http://github.com/rupa/j2, which is
identical to z, but uses python to make experimentation somewhat easier.
**********
 
maintains a jump-list of the directories you actually use
old directories eventually fall off the list
inspired by Joel Schaerer's http://wiki.github.com/joelthelion/autojump
and something similar i had - but i could never get the dir list right.
 
INSTALL:
  source into .bashrc under your '[-z "$PS1" ] || return' line
  cd around for a while
 
USE:
  j [--h[elp]] [--l] [--r] [--s] [regex1 ... regexn]
                      with no args, returns full list (same as j --l)
    regex1 ... regexn jump to the the weighted directory matching all masks
    --l show the list instead of jumping
    --r order by recently used instead of most used.
    --s shortest matching path
 
TIPS:
  Some handy aliases:
    alias jl='j --l'
    alias jr='j --r'
    alias js='j --s'
 
CREDITS:
  Joel Schaerer aka joelthelion for autojump
  Daniel Drucker aka dmd for finding bugs and making me late for lunch