Skip to content

Instantly share code, notes, and snippets.

@tomekw
Created May 30, 2012 07:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomekw/2834383 to your computer and use it in GitHub Desktop.
Save tomekw/2834383 to your computer and use it in GitHub Desktop.
Efficient Heroku (ZSH version)
function h { heroku $argv[0,-2] --app $argv[-1] }
function hp { h $argv production_app_name }
function hs { h $argv staging_app_name }
alias hpc="hp run console"
alias hsc="hs run console"
alias hpl="hp logs -t"
alias hsl="hs logs -t"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment