小编ker*_*lin的帖子

安装 oh-my-zsh 后:... /.zshrc:source:34: no such file or directory ... /.oh-my-zsh/oh-my-zsh.sh

我只是尝试安装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)

bash zsh oh-my-zsh

21
推荐指数
2
解决办法
10万
查看次数

标签 统计

bash ×1

oh-my-zsh ×1

zsh ×1