File: clearLmod

package info (click to toggle)
lmod 8.7.60-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 63,008 kB
  • sloc: sh: 6,266; makefile: 2,837; ansic: 1,513; tcl: 1,382; python: 1,050; csh: 112
file content (12 lines) | stat: -rw-r--r-- 319 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- shell-script -*-
# This file defines a ksh alias.
# It also ends up in a zsh function directory
# so that zsh users can run this shell function with ksh scripts
if [ -n "${KSH_VERSION+x}" ]; then
   clearLmod()
   {
     module --force purge
     eval $($LMOD_DIR/clearLMOD_cmd --shell bash --full "$@")
   }
fi