export PATH=$PATH:/usr/local/git/bin:/usr/local/bin
ps:One note: you don’t need quotation marks here because it’s on the right hand side of an assignment, but in general, and especially on Macs with their tradition of spacy pathnames, expansions like P A T H s h o u l d b e d o u b l e − q u o t e d a s " PATH should be double-quoted as " PATHshouldbedouble−quotedas"PATH".
pps:不要乱搞权限,惨痛教训