Over a million developers have joined DZone.

'Heroku F-ing Console' Forgot About Aliases

DZone's Guide to

'Heroku F-ing Console' Forgot About Aliases

· Cloud Zone
Free Resource

Deploy and scale data-rich applications in minutes and with ease. Mesosphere DC/OS includes everything you need to elastically run containerized apps and data services in production.

A while back there was some buzz and agreement around a project called "heroku-f***ing-console," which is a plugin that allows you to just type heroku console instead of heroku run console, and it provides a few other shorthands.

While the tool and the GitHub page provided a little bit of entertainment, there's really no need to make a whole plugin to solve this issue.  Another developer posted his own GitHub page referring to a long-time solution for this problem: aliases.

Here's what you add to your ~/.bash_profile or ~/.zshrc:

alias hc="heroku run console"
alias gp="git push"

Not hard.  The response to this problem with heroku-f***ing-console was way more effort than necessary.

Discover new technologies simplifying running containers and data services in production with this free eBook by O'Reilly. Courtesy of Mesosphere.


Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}