The Unix gods created this simple command that I always forget to use.
With the recent popularity of heroku-fucking-console, it seems others forget it as well. Take a moment to set aliases. Your fingers will thank you.
All day, you type:
heroku run console
or
git push
Imagine a world where you could just type:
hc
or
gp
Just add this to ~/.bash_profile
(or ~/.zshrc
if zsh is your thing)
alias hc="heroku run console"
alias gp="git push"
history | ruby -e "$(curl -fsSL https://raw.github.com/ankane/alias/master/alias.rb)"
Note: This does not take into account current aliases
For a deeper look at your command history, check out the awesome Huffshell