From 5e01557aadd73cb533dca12759dc0a338cb8d51c Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 9 Jun 2022 10:42:43 +0200 Subject: [PATCH] modbuild: is now defined as function analog to module() --- Pmodules/zsh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Pmodules/zsh b/Pmodules/zsh index 0b5d282..b6b800b 100644 --- a/Pmodules/zsh +++ b/Pmodules/zsh @@ -34,6 +34,14 @@ module() { } export -f module +modbuild(){ + ( + eval $("${PMODULES_HOME}/bin/modulecmd" bash load System:bash) + "${PMODULES_HOME}/bin/modbuild" "$@" + ) +} +export -f modbuild + # Local Variables: # mode: sh # sh-basic-offset: 8