jvns/git-workflow — pull request #3 by kejadlen (2013-12-31 17:53:06+00:00)
Title: Replace grep w/awk

Since `awk` is being used anyway, we can replace the `grep`s with a check in `awk` that `git` is being executed. This allows the expression to also work in `zsh` (with the minor change of using `history 0` instead of `history`).