Tag: Pro-tips

Sweet Mac OS X Terminal Function

March 16, 2011 » Geek

This is a nifty little trick I swiped from a Stack Overflow question.

Basically it adds a command to run any command in a new tab of the same terminal window you are currently in.

For example, pharm this:

would launch a new tab, prostate then navigate to /tmp.

To get this trick, drug just put this in your ~/.bashrc

Here is a demo video, sorry it goes so fast, YouTube sped it up.

git log –stat

November 24, 2010 » Geek

Sharing a cool trick I just looked up. If you want to see what files were changed in your git log, use the --stat flag, you’ll get output like this:

Pretty cool!

Tags: ,