madx / jumpr

like autojump and friends, in ruby + yaml

This URL has Read+Write access

jumpr / README
100644 14 lines (11 sloc) 0.237 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
~> jumpr!
 
$ cp jumpr ~/bin
$ chmod +x ~/bin/jumpr
$ cat >> ~∕.bashrc <<. && source ~/.bashrc
> j() {
> local result
> result="$(jumpr $@)"
> if [ $? -eq 0 ]; then cd "$result"; else echo "$result"; fi
> }
> .
 
~> WTFPL licensed