add sha1 function to Mac .bash_profile