As scl-init.sh sets but doesn't clean up the variable "shell", it ends up set in every shell's variable list.
Suggest replacing the shell variable and call to ps with
[ -n "${BASH:-}" ] && export -f scl # export -f works only in bash
which is similar to the approach used by environment-modules.
As scl-init.sh sets but doesn't clean up the variable "shell", it ends up set in every shell's variable list.
Suggest replacing the
shellvariable and call topswithwhich is similar to the approach used by environment-modules.