Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 conda initialize breaks cda command #13

Open
mbercx opened this issue Nov 22, 2023 · 0 comments
Open

🐛 conda initialize breaks cda command #13

mbercx opened this issue Nov 22, 2023 · 0 comments

Comments

@mbercx
Copy link
Member

mbercx commented Nov 22, 2023

It seems that initializing conda after install conda/mamba breaks the cda function set up in your e.g. .zshrc file:

# Created by `aiida-project init` on 05/09/23 11:05
export $(grep -v '^#' /Users/mbercx/.aiida_project.env | xargs)
cda () {
# source $aiida_venv_dir/$1/bin/activate  # commented out by conda initialize
  cd $aiida_project_dir/$1
}

We should look into what exactly conda initialize looks for, and try to avoid conflicts..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant