imported some stuff from mai
added MacOS git-prompt.sh location support