在Mac上打开终端时,出现以下错误代码:
-bash:/ etc / profile:第1行:意外令牌
(' -bash: /etc/profile: line 1:
附近的语法错误-e \ n-e \ n# sh(1)\ n \ nif [-x / usr / libexec / path_helper];然后\ neval/usr/libexec/path_helper -s
\ nfi \ n \ nif [“ $ {BASH-no}”!=“”否“];然后\ n [-r / etc / bashrc] &&。 / etc / bashrc \ nfi \ nPT7HOME = / opt / pt \ nQT_DEVICE_PIXEL_RATIO = auto'
这是/ etc / profile的内容:
-e \ n-e \ n#sh(1)\ n \ nif的系统范围.profile [-x / usr / libexec / path_helper];然后\ neval
/usr/libexec/path_helper -s
\ nfi \ n \ nif [“ $ {BASH-no}”!=“”否“];然后\ n [-r / etc / bashrc] &&。 / etc / bashrc \ nfi \ nPT7HOME = / opt / pt \ nQT_DEVICE_PIXEL_RATIO = auto