/etc/profile.d
NameSizeModeActions
bash_timestamps.sh690644editdlrm
colorgrep.csh1960644editdlrm
colorgrep.sh2010644editdlrm
colorls.csh17410644editdlrm
colorls.sh16060644editdlrm
colorsysstat.csh690644editdlrm
colorsysstat.sh560644editdlrm
colorxzgrep.csh1620644editdlrm
colorxzgrep.sh1830644editdlrm
colorzgrep.csh2160644editdlrm
colorzgrep.sh2200644editdlrm
cpanel-user-commands.sh5130644editdlrm
csh.local800644editdlrm
debuginfod.csh6740644editdlrm
debuginfod.sh5960644editdlrm
gawk.csh11070644editdlrm
gawk.sh7570644editdlrm
lang.csh24890644editdlrm
lang.sh23120644editdlrm
less.csh5000644editdlrm
less.sh2530644editdlrm
locallib.csh2400755editdlrm
locallib.sh2880755editdlrm
modules.csh1050644editdlrm
modules.sh4480644editdlrm
scl-init.csh2840644editdlrm
scl-init.sh6370644editdlrm
sh.local810644editdlrm
vim.csh1060644editdlrm
vim.sh2480644editdlrm
which2.csh1200644editdlrm
which2.sh6280644editdlrm
Edit: /usr/share/Modules/init/profile.sh (448B)
# get current shell name by querying shell variables or looking at parent # process name if [ -n "${BASH:-}" ]; then if [ "${BASH##*/}" = 'sh' ]; then shell='sh' else shell='bash' fi elif [ -n "${ZSH_NAME:-}" ]; then shell=$ZSH_NAME else shell=$(/usr/bin/basename $(/usr/bin/ps -p $$ -ocomm=)) fi if [ -f /usr/share/Modules/init/$shell ]; then . /usr/share/Modules/init/$shell else . /usr/share/Modules/init/sh fi