有人可以解释一下并帮助我如何解决它吗?
这是我看到的 bash 终端:
bash: rbenv: command not found
bash: eva: command not found
bash: rbenv: command not found
bash: Source: command not found
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
MacBook-Pro-de-ta:~ ta$ chsh -s /bin/zsh
Changing shell for ta.
Password for ta:
chsh: no changes made
MacBook-Pro-de-ta:~ ta$
我在 zsh 终端上看到的内容:
/Users/ta/.zshrc:3: /usr/local/opt/ruby/bin:/usr/local/opt/ruby/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/opt/ruby/bin:/usr/local/opt/ruby/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/ta/.rvm/gems/ruby-2.7.4/bin:/Users/ta/.rvm/gems/ruby-2.7.4@global/bin:/Users/ta/.rvm/rubies/ruby-2.7.4/bin:/usr/local/opt/ruby/bin:/Users/ta/.rvm/bin not found
更多细节 :
ta@MacBook-Pro-de-ta ~ % zsh --version
zsh 5.8 (x86_64-apple-darwin21.0)
ta@MacBook-Pro-de-ta ~ % bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin21)
Copyright (C) 2007 Free Software Foundation, Inc.
ta@MacBook-Pro-de-ta ~ % /Users/ta/.bash_profile
zsh: permission denied: /Users/ta/.bash_profile
ta@MacBook-Pro-de-ta ~ % /Users/ta/.zsh_profile
zsh: no such file or directory: /Users/ta/.zsh_profile
source ~/.bash_profile
/Users/ta/.bash_profile:6: command not found: rbenv
/Users/ta/.bash_profile:6: command not found: eva
/Users/ta/.bash_profile:7: command not found: rbenv
/Users/ta/.bash_profile:11: command not found: Source