let's try some bash shortcut with "fasd"
Fasd (pronounced similar to "fast") is a command-line productivity booster. Fasd offers quick access to files and directories for POSIX shells. It is inspired by tools like autojump, z and v. Fasd keeps track of files and directories you have accessed, so that you can quickly reference them in the command line.
$ brew info fasd
fasd: stable 1.0.1
https://github.com/clvv/fasd
$ brew home fads
## INSTALL
$ brew install fasd
$ echo eval "\$(fasd --init auto)" >> ~/.bash_profile
$ source ~/.bash_profile
$ cd ~/Desktop/
$ cd -
$ a
$ z desk
see the point now?
just check https://github.com/clvv/fasd and a lot more will come from there
No comments:
Post a Comment