|
From: Jeff S. <jsq...@us...> - 2004-03-08 17:09:18
|
Update of /cvsroot/env-switcher/env-switcher/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25425/src Modified Files: switcher.tcl.in Log Message: Partial fix for bug 905191: added docs for switcher-reload command Index: switcher.tcl.in =================================================================== RCS file: /cvsroot/env-switcher/env-switcher/src/switcher.tcl.in,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** switcher.tcl.in 7 Mar 2004 22:06:55 -0000 1.12 --- switcher.tcl.in 8 Mar 2004 16:44:52 -0000 1.13 *************** *** 72,75 **** --- 72,81 ---- module use @SWITCHER_PKGDATADIR@ + # Setup a "reload" command that effectively ditches any current + # modules/switcher environment and sets up the current environment to + # be what the current switcher settings are. + + alias switcher-reload "module unload oscar-modules; module load oscar-modules" + # If we're not removing the module, call switcher to announce what # modules we're loading (per user/system settings, of course) |