Skip to content

fix: detect `zsh` vs. `{ba,}sh` in `env.sh`

Baltzell, Nathan requested to merge github/fork/c-dilks/fix-zsh into master

Created by: c-dilks

There is a difference in the setup files for different shells, surprisingly between zsh and sh/bash:

/group/clas12/packages/setup.sh   # for {,ba}sh
/group/clas12/packages/setup.zsh  # for zsh

If running zsh you source setup.sh, you'll get errors.

This PR causes env.sh to detect which shell is being used to source the appropriate setup.*sh file.

Merge request reports