HenrikBengtsson / conda-stage

conda-stage: Stage a Conda Environment on Local Disk
https://github.com/HenrikBengtsson/conda-stage
ISC License
7 stars 0 forks source link

Add support for 'zsh' #32

Open HenrikBengtsson opened 2 years ago

HenrikBengtsson commented 2 years ago

Issue

eval $(conda-stage --source)

is not supported by zsh. There are a few reasons for this, one being that conda-stage --source generates a Bash script that rely on Bash-specific environment variables, e.g. BASH_SOURCE.

HenrikBengtsson commented 2 years ago

The first step to support Zsh would be to create a Zsh version of Bash script https://github.com/HenrikBengtsson/conda-stage/blob/develop/bin/conda-stage.sh. If you're savvy with Zsh, please consider contributing a Zsh version of this.