shorten the path by replacing the path of the project folder with '.'

e.g. /Users/bob/src/myproject/somedir/foo.txt with be ./somedir/foo.txt
Merge pull request #2 from jtanner/master

shorten the path by replacing the path of the project folder with '.'