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

时间:2016-08-21 22:20:20

标签: zsh iterm2 zshrc

每当我启动iTerm2窗口时,都会收到错误消息         .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

1 个答案:

答案 0 :(得分:2)

.zshrc的第一行是:

Path to your oh-my-zsh installation.

你应该评论它:

# Path to your oh-my-zsh installation.