A simple bash command to help developers navigate between projects.
# Jump to /dev/projects/php/softdrink gd softdrink # But also works with gd sdr # fuzzy match gd php # most recent PHP project # Or just enter gd # to jump to the most recently modified project
The target directory is determined by:
- Direct or partial match of the directory name
- Fuzzy pattern match (prj -> project)
- Existence of .git repository
- Date of last change
GoToProject just picks the most likely match and
cd-s there. It's that simple.
TIP: Set env. variable
GTP_DEBUG to 1 to see debugging output.
Paste this into your terminal and follow the on-screen instructions:
wget -O- -q https://raw.githubusercontent.com/panta82/GoToProject/master/install.sh | bash
Alternatively, if you're a jaded untrusting soul, you could clone the repository, inspect the content and then run
It might work on older versions, but it wasn't tested and installer won't support it.
No worries on Linux.
On Mac, please install homebrew, then execute
brew install coreutils.
Screen compatible command
whiplash. Should come preinstalled on linux.
brew install screenon Mac.
|0.2||Better fuzzy parsing when used with multiple arguments. Eg.
|0.3||Better installer safety. Added Mac support|
- Install as own file, instead of polluting user's