conda-forge / conda-forge/miniforge
Conda init not working for my ZSH shell
- Dominant language
- Shell
- Stars
- 10.2k
- Forks
- 530
- PR merge metrics
- No merged PRs in 30d
Description
### Solution to issue cannot be found in the documentation.
- [X] I checked the documentation.
### Issue
I have looked everywhere but nothing is working for me, when I install Miniforge on my Mac with home-brew and do conda init zsh afterwards, it puts the piece of code in my .zshrc file, but it still gives me an error that conda init has to be run. I'm doing this on the new M2 max MacBook, but also have tried it before with 2020 intel Mac and got the same thing, making me believe there is something going on with conda or my dot files but can't seem to figure out what.

### Installed packages
```shell
brotlipy 0.7.0 py310h8e9501a_1005 conda-forge
bzip2 1.0.8 h3422bc3_4 conda-forge
ca-certificates 2022.12.7 h4653dfc_0 conda-forge
certifi 2022.12.7 pyhd8ed1ab_0 conda-forge
cffi 1.15.1 py310h2399d43_3 conda-forge
charset-normalizer 2.1.1 pyhd8ed1ab_0 conda-forge
conda 22.9.0 py310hbe9552e_2 conda-forge
conda-package-handling 2.0.2 pyh38be061_0 conda-forge
conda-package-streaming 0.7.0 pyhd8ed1ab_1 conda-forge
cryptography 38.0.4 py310hfc83b78_0 conda-forge
idna 3.4 pyhd8ed1ab_0 conda-forge
libcxx 14.0.6 h2692d47_0 conda-forge
libffi 3.4.2 h3422bc3_5 conda-forge
libsqlite 3.40.0 h76d750c_0 conda-forge
libzlib 1.2.13 h03a7124_4 conda-forge
ncurses 6.3 h07bb92c_1 conda-forge
openssl 3.0.7 h03a7124_1 conda-forge
pip 22.3.1 pyhd8ed1ab_0 conda-forge
pycosat 0.6.4 py310h8e9501a_1 conda-forge
pycparser 2.21 pyhd8ed1ab_0 conda-forge
pyopenssl 22.1.0 pyhd8ed1ab_0 conda-forge
pysocks 1.7.1 pyha2e5f31_6 conda-forge
python 3.10.8 h3ba56d0_0_cpython conda-forge
python_abi 3.10 3_cp310 conda-forge
readline 8.1.2 h46ed386_0 conda-forge
requests 2.28.1 pyhd8ed1ab_1 conda-forge
ruamel_yaml 0.15.80 py310h8e9501a_1008 conda-forge
setuptools 65.6.3 pyhd8ed1ab_0 conda-forge
tk 8.6.12 he1e0b03_0 conda-forge
toolz 0.12.0 pyhd8ed1ab_0 conda-forge
tzdata 2022g h191b570_0 conda-forge
urllib3 1.26.13 pyhd8ed1ab_0 conda-forge
wheel 0.38.4 pyhd8ed1ab_0 conda-forge
xz 5.2.6 h57fd34a_0 conda-forge
yaml 0.2.5 h3422bc3_2 conda-forge
zstandard 0.19.0 py310had9512b_1 conda-forge
zstd 1.5.2 h8128057_4 conda-forge
```
### Environment info
```shell
active environment : None
shell level : 0
user config file : /Users/joy/.condarc
populated config files : /opt/homebrew/Caskroom/miniforge/base/.condarc
conda version : 22.9.0
conda-build version : not installed
python version : 3.10.8.final.0
virtual packages : __osx=13.2=0
__unix=0=0
__archspec=1=arm64
base environment : /opt/homebrew/Caskroom/miniforge/base (writable)
conda av data dir : /opt/homebrew/Caskroom/miniforge/base/etc/conda
conda av metadata url : None
channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
https://conda.anaconda.org/conda-forge/noarch
package cache : /opt/homebrew/Caskroom/miniforge/base/pkgs
/Users/joy/.conda/pkgs
envs directories : /opt/homebrew/Caskroom/miniforge/base/envs
/Users/joy/.conda/envs
platform : osx-arm64
user-agent : conda/22.9.0 requests/2.28.1 CPython/3.10.8 Darwin/22.3.0 OSX/13.2
UID:GID : 501:20
netrc file : None
offline mode : False
```
Contributor guide
Assessment
This issue has not been assessed yet.