瀏覽代碼

Add explicit instructions for Zsh in MacOS

Indirect ones with errata have proven to confuse users.
Fixes #1947, #1948
pull/1964/head
Ivan Pozdeev 5 年之前
父節點
當前提交
159327ff25
共有 1 個文件被更改,包括 18 次插入2 次删除
  1. +18
    -2
      README.md

+ 18
- 2
README.md 查看文件

@ -263,8 +263,24 @@ easy to fork and contribute any changes back upstream.
- For **Zsh**:
Same as for Bash above, but add the commands into both `~/.profile`
and `~/.zprofile`.
- **MacOS, if Pyenv is installed with Homebrew:**
~~~ zsh
echo 'eval "$(pyenv init --path)"' >> ~/.zprofile
~~~
- **MacOS, if Pyenv is installed with a Git checkout:**
~~~ zsh
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zprofile
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zprofile
echo 'eval "$(pyenv init --path)"' >> ~/.zprofile
~~~
- **Other OSes:**
Same as for Bash above, but add the commands into both `~/.profile`
and `~/.zprofile`.
- For **Fish shell**:

Loading…
取消
儲存