A super fast terminal based directory switcher, allows user to change working directory quickly. Currently only Bash is supported.
sample/goto.shto your local drive.
- Make it executable,
chmod 0755 goto.sh.
- Add an entry to your .bashrc:
alias [key to bind]='. [path_to_goto.sh]'For example, if you want to bind the menu to letter 'g', you would need to add the following entry to
alias g='. $HOME/bin/goto.sh'(Notice the dot)
- Restart or re-login. If you are lazy, you can do
- In the terminal window, type the key which was binded to the script, and then press Enter.
Since this is a standard Bash script, you may edit it anyway you wish. However, if you need to modify the menu, the recommended way is to build it yourself using grunt.
To do that, Clone the Git repository or download the source files directly, and then do the following:
npm install --save-dev
src/gotoConfig.jsto the root directly
- Modify the menu template as desired.
There's a release task which update the script in the