Managing multiple Heroku accounts on a single computer
You can add the following aliases to your ~/.bash_profile file as follows:
alias heroc="ruby <path to where you unzipped the script>/credentials.rb"alias heros="ruby <path to where you unzipped the script>/switcher.rb"Now, from the command line, you can simply type “heros” and “heroc” to use the scripts. Of course, you can use whatever alias you want.
via aeonscope.net
Great tip.