readlink apparently works differently in Mac OS Yosemite, providing the absolute path instead of relative path. since i'm only managing this for myself, no need to maintain backward compatibility. i can always do an OS version check and use the previous readlink combos if it's important enough to run on mavericks again.
Merge pull request #3 from jfray/works_with_yosemite

readlink apparently works differently in Mac OS Yosemite, providing the ...