X7ROOT File Manager
Current Path:
/usr/share/Modules/init
usr
/
share
/
Modules
/
init
/
📁
..
📄
bash
(4.04 KB)
📄
bash_completion
(11.2 KB)
📄
cmake
(1.88 KB)
📄
csh
(3.78 KB)
📄
fish
(1.69 KB)
📄
fish_completion
(9.42 KB)
📄
ksh
(4.06 KB)
📁
ksh-functions
📄
lisp
(3.15 KB)
📄
perl.pm
(1.09 KB)
📄
profile-compat.csh
(197 B)
📄
profile-compat.sh
(309 B)
📄
profile.csh
(105 B)
📄
profile.sh
(448 B)
📄
python.py
(1.5 KB)
📄
r.R
(961 B)
📄
ruby.rb
(1.35 KB)
📄
sh
(3.91 KB)
📄
tcl
(1.05 KB)
📄
tcsh
(3.79 KB)
📄
tcsh_completion
(5.39 KB)
📄
zsh
(4.05 KB)
📁
zsh-functions
Editing: fish
# 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;
Upload File
Create Folder