我只是尝试安装oh-my-zsh。尝试运行时出现以下错误rvm
:
zsh: command not found: rvm
Run Code Online (Sandbox Code Playgroud)
当我尝试打开一个新标签时,我也会收到以下错误:
/Users/jack/.zshrc:source:34: no such file or directory: /Users/jack/.oh-my-zsh/oh-my-zsh.sh
/Users/jack/.zshrc:source:38: no such file or directory: .bashrc
Run Code Online (Sandbox Code Playgroud)
这是我的.zshrc
文件:
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="robbyrussell"
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# …
Run Code Online (Sandbox Code Playgroud)