0

on OSX, every new terminal opened, I need to re-do the:

export PATH=~/miniconda3/bin:$PATH

or it will be

zsh: command not found: conda
Donghui HU
  • 81
  • 1
  • 8
  • Welcome to stackoverflow. This question is probably a duplicate (already answered), but you need to search something like `macosx zsh how to permanently add to path`. Try this: http://stackoverflow.com/questions/10574684/where-to-place-path-variable-assertions-in-zsh If it is a duplicate, it's best you delete this question, otherwise edit it to say that you have searched, and paste links to similar questions which do not cover what you asked or this question will probably get downvoted. – Marko Avlijaš May 02 '17 at 06:58

1 Answers1

6

Add
export PATH=~/miniconda3/bin:$PATH
to ~/.zshrc

Here is good explanation about startup files: http://superuser.com/questions/187639/zsh-not-hitting-profile

Bor Laze
  • 2,458
  • 12
  • 20