Last Updated: February 25, 2016
·
2.01K
· likeyn

Boost your command-line

For those of us that love and use the command-line on a daily basis (and I believe there's a lot of us out there), here's a small, open-source, Github hosted and amazingly powerful tool for super-fast files/dirs access: fasd

It basically remembers every file and folder path you access normally and ranks them using what they call frecency, that is both frequency and recency. The more you use it, the more it is able to guess which file or folder you want.

Here's an example:
Fasdemo

There are several default aliases that come by default, but you can obviously create your owns using your .*rc file. Here are two basic ones of mines that I find the most useful:

alias v='a -e vim' # Quick file/folder opening with vim
alias m='f -e most' # Quick file opening with pager

Fasd is POSIX compliant, and has been tested on /bin/sh, bash, zsh and some more other shells that I didn't even know they exist. Check out the fasd Github repository for more informations.

Happy coding : )