/etc/profile.d
# shellcheck shell=sh # 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
.
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