Files
modules/modulefiles/dot.in
rk e816ab15b5 modules is a shell tool for setting-up the user environment on the
fly, as it were.  It's a powerful mechanism for dynamically changing
environment variables, aliases, X11 resources, etc.
It uses an embedded Tcl intrepretor, with a few extensions.  Therefore,
it has a well defined language syntax.
Version 3.1 is GPL, and includes many improvements over the 3.0beta.
2000-06-28 00:17:34 +00:00

23 lines
659 B
Plaintext

#%Module1.0#####################################################################
##
## dot modulefile
##
proc ModulesHelp { } {
global dotversion
puts stderr "\tAdds `.' to your PATH environment variable"
puts stderr "\n\tThis makes it easy to add the current working directory"
puts stderr "\tto your PATH environment variable. This allows you to"
puts stderr "\trun executables in your current working directory"
puts stderr "\twithout prepending ./ to the excutable name"
puts stderr "\n\tVersion $dotversion\n"
}
module-whatis "adds `.' to your PATH environment variable"
# for Tcl script use only
set dotversion @VERSION@
append-path PATH .