This is my bash add-on that allows you to define project- or client-specific aliases, functions or variables. It works by executing an arbitrary bash script upon entering the context (and the corresponding script when leaving it). Things you can do:
- define project- or client-specific aliases
- define custom bash functions
- go to the project directory
- activate a Python virtual environment or rvm gemset
- set up project-specific PATH or other environment variables (e.g. prompt)
- set up project-specific environment variables
- start some services in the background (e.g. Redis, Guard)
- start a
screen or tmux session
I’d love to hear your thoughts!