fix: detect `zsh` vs. `{ba,}sh` in `env.sh`
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.