A project manager for the popular zsh.
-
Place projects.sh and projects-Folder in a new folder
project-manager
in your home directory. -
In your terminal navigate run the following commands:
$ cd ~/project-manager/ $ chmod +x projects.sh $ ln -s ~/project-manager/projects.sh /usr/local/bin/projs
-
Open your
.zshrc
and add the following line:alias projects='. proj ${1}'
After saving this file reload ($ source ~/.zshrc
) it in your terminal or restart the terminal. -
Your done! Happy coding :)
- Navigate to your project folder and run:
$ projects add
- Now you're asked some questions:
- How to name the project
- If you want to open it in atom if you switch to it
- Add additional commands like
nvm use && npm start
- Type
$ projects foo
to switch to project foo
List projects using $ projects list