Skip to content

Instantly share code, notes, and snippets.

@kaspermunch
Created April 10, 2020 10:20
Show Gist options
  • Save kaspermunch/a7a2cd98ca540e8812ca7f53daf9c7ec to your computer and use it in GitHub Desktop.
Save kaspermunch/a7a2cd98ca540e8812ca7f53daf9c7ec to your computer and use it in GitHub Desktop.
Add this to end of .bashrc to allow activation of environments using `conda activate` inside bash scripts on the cluster.
export -f conda
export -f __conda_activate
export -f __conda_reactivate
export -f __conda_hashr
export -f __add_sys_prefix_to_path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment