use awk instead

Using awk instead of cut to avoid ambiguous reference. 

![screen shot 2013-05-28 at 1 20 57 pm](https://f.cloud.github.com/assets/45141/574219/d90dcf52-c7c3-11e2-8f98-5808ed05d3f7.png)


used `cut -c1-4` to force ambiguous error on git/git project, but it can still pop up in smaller projects for the first 7 characters.

/cc @matthewmccullough to also update your dotfiles.