support mac osx 10.8.2 's bash 

I'm using osx 10.8.2,I found that prompt symbol display error, so I
add new group 'macosx' in symbols, and add code to detect the os type