5 ms·
You might want to check out z: https://github.com/rupa/z https://github.com/rupa/z
by fau 13y ago
You might want to check out z: https://github.com/rupa/z https://github.com/rupa/z
- wereHamster 13y agoz is so much more useful because it automatically learns which paths you use most often. There is no need to explicitly mark folders. It just works.
- rishigoutam 13y agoHow does it differ from autojump?
- wereHamster 13y agoI don't know autojump, but from a cursory look: z is written in pure shell, is a single file, no external dependencies. autojump requires python, thus likely has more features. IMHO, just for jumping around directories, z is good enough.
- masnick 13y ago+1 for z. It's the primary way I navigate between folders at the command line.
- moonlighter 13y agoThank you! Glad I read the comments first... seems like z is more powerful yet easier to use. Ended up installing that.
- TheEskimo 13y agohttps://github.com/clvv/fasd https://github.com/clvv/fasd I used to use z, but I've since switched to fasd. It's much like z, but also so much better. In addition to being able to do "z <part of directory>" you can do "f <part of file>". So, for example, if I've got a rails project I've worked on a lot recently I know its config.ru is high on frecency, so I'll just do "vim `f config`" to edit that file. If I want a file that's not so recent I can always do "vim `f -i config`" to pick from a list of files. fasd is leaps and bounds above z in functionality, and I've thoroughly enjoyed using it.
- csharpminor 13y agoThanks for this. I've been using z and like it quite a bit, but I'm always open to ways to improve my workflow.
- wrboyce 13y agoIf you alias `v` to `f -e vim` then you can `v config` and `v -i config`.
- kinleyd 13y agoI put z and fasd through their paces, and out of the box z works very intuitively. I like it. fasd takes a little more to get used to, but I'm going to put it through a full try out. Let's see if the additional features make it worth the while. In either case, thanks all for a great thread.
- kinleyd 13y agofasd is z on steroids. Fantastic tool.