aboutsummaryrefslogtreecommitdiff
blob: e3d6d43b2e5c56cfee4ddf01563ee8d79bee355a (plain)
1
2
3
4
5
6
7
shell=$(basename $(ps -p $$ -ocomm=))
if [ -f @EPREFIX@/usr/share/Modules/init/${shell} ]
then
  . @EPREFIX@/usr/share/Modules/init/${shell}
else
  . @EPREFIX@/usr/share/Modules/init/sh
fi