/etc/profile.d
scl() { if [ "$1" = "load" -o "$1" = "unload" ]; then # It is possible that function module is not declared in time of this # declaration so eval is used instead of direct calling of function module eval "module $@" else /usr/bin/scl "$@" fi } shell=`/bin/basename \`/bin/ps -p $$ -ocomm=\`` [ "$shell" = "bash" ] && export -f scl # export -f works only in bash MODULESHOME=/usr/share/Modules export MODULESHOME if [ "${MODULEPATH:-}" = "" ]; then MODULEPATH=`sed -n 's/[ #].*$//; /./H; $ { x; s/^\n//; s/\n/:/g; p; }' ${MODULESHOME}/init/.modulespath` fi MODULEPATH=/etc/scl/modulefiles:$MODULEPATH export MODULEPATH
.
Edit
..
Edit
bash_timestamps.sh
Edit
colorgrep.csh
Edit
colorgrep.sh
Edit
colorls.csh
Edit
colorls.sh
Edit
colorsysstat.csh
Edit
colorsysstat.sh
Edit
colorxzgrep.csh
Edit
colorxzgrep.sh
Edit
colorzgrep.csh
Edit
colorzgrep.sh
Edit
cpanel-user-commands.sh
Edit
csh.local
Edit
debuginfod.csh
Edit
debuginfod.sh
Edit
flatpak.sh
Edit
gawk.csh
Edit
gawk.sh
Edit
lang.csh
Edit
lang.sh
Edit
less.csh
Edit
less.sh
Edit
locallib.csh
Edit
locallib.sh
Edit
modules.csh
Edit
modules.sh
Edit
scl-init.csh
Edit
scl-init.sh
Edit
sh.local
Edit
which2.csh
Edit
which2.sh
Edit