我启动终端,Bash自动运行。
当它出现时我收到此错误:
-bash: /Users/user/.bash_profile: line 1: unexpected EOF while looking for matching `''
-bash: /Users/user/.bash_profile: line 3: syntax error: unexpected end of file
我该如何解决?
答案 0 :(得分:5)
/Users/user/.bash_profile
中包含不匹配引号的错误。在该文件的第一行中查找不匹配的引号。