/usr/share/Modules/init
NameSizeModeActions
ksh-functions/-0755rm
zsh-functions/-0755rm
bash41340644editdlrm
bash_completion114640644editdlrm
cmake19250644editdlrm
csh38740644editdlrm
fish17330644editdlrm
fish_completion96470644editdlrm
ksh41620644editdlrm
lisp32300644editdlrm
perl.pm11180644editdlrm
profile-compat.csh1970644editdlrm
profile-compat.sh3090644editdlrm
profile.csh1050644editdlrm
profile.sh4480644editdlrm
python.py15390644editdlrm
r.R9610644editdlrm
ruby.rb13790644editdlrm
sh40040644editdlrm
tcl10710644editdlrm
tcsh38800644editdlrm
tcsh_completion55210644editdlrm
zsh41510644editdlrm
Edit: /usr/share/Modules/init/fish (1733B)
# define modules runtine quarantine configuration set -xg MODULES_RUN_QUARANTINE 'LD_LIBRARY_PATH LD_PRELOAD' # setup quarantine if defined set _mlre ''; for _mlv in (string split ' ' $MODULES_RUN_QUARANTINE) if string match -r '^[A-Za-z_][A-Za-z0-9_]*$' $_mlv >/dev/null if set -q $_mlv set _mlre $_mlre$_mlv"_modquar='$$_mlv' " end set _mlrv "MODULES_RUNENV_$_mlv" set _mlre "$_mlre$_mlv='$$_mlrv' " end end if [ -n "$_mlre" ] set _mlre "env $_mlre" end # define module command and surrounding initial environment (default value # for MODULESHOME, MODULEPATH, LOADEDMODULES and parse of init config files) eval $_mlre /usr/bin/tclsh /usr/share/Modules/libexec/modulecmd.tcl fish autoinit | source - # no environment alteration if the above autoinit command failed if [ $status -eq 0 ] if status -i if [ -r /usr/share/Modules/init/fish_completion ] source /usr/share/Modules/init/fish_completion end end # no switchml definition since there is no Fish support in C version if not contains /usr/share/Modules/bin $PATH set -xg PATH /usr/share/Modules/bin $PATH end # initialize MANPATH if not set with a value that preserves manpath system # configuration even after addition of paths to this variable by modulefiles if not set -q MANPATH set -xg MANPATH : end if not string match -q '*:/usr/share/man:*' :(manpath ^/dev/null): if [ -z "$MANPATH" -o "$MANPATH" = ':' ] set _mlpathsep '' else set _mlpathsep : end set -xg MANPATH /usr/share/man$_mlpathsep$MANPATH set -e _mlpathsep end end # clean temp variables used to setup quarantine set -e _mlre; set -e _mlv; set -e _mlrv;