找不到命令:iterm 上使用 zsh 的路径?

Command not found: Path on iterm using zsh?

每当我启动 iTerm2 window 时,我都会收到错误 .zshrc:1: command not found: Path 没有 运行 命令行上的任何内容。

我的 .zshrc 文件包含

export ZSH=/Users/[usr]/.oh-my-zsh
plugins=(git)
source $ZSH/oh-my-zsh.sh
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/Devel
source /usr/local/bin/virtualenvwrapper.sh

你的.zshrc的第一行是:

Path to your oh-my-zsh installation.

你应该发表评论:

# Path to your oh-my-zsh installation.