Make sure that /usr/local/bin is in your $PATH.

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 " PATHshouldbedoublequotedas"PATH".

pps:不要乱搞权限,惨痛教训

你可能感兴趣的:(博客新建与维护)