summarylogtreecommitdiffstats
path: root/env-modules-tcl.install
diff options
context:
space:
mode:
Diffstat (limited to 'env-modules-tcl.install')
-rw-r--r--env-modules-tcl.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/env-modules-tcl.install b/env-modules-tcl.install
new file mode 100644
index 000000000000..59d6bb759ff1
--- /dev/null
+++ b/env-modules-tcl.install
@@ -0,0 +1,16 @@
+
+post_install() {
+ echo ""
+ echo "ZSH: For the use of module-cmd in a none-login Z-shell enviroment"
+ echo "the following entry should be added to the zshrc "
+ echo "(or zshenv if the module-cmd should be available in shell-scripts)"
+ echo ""
+ echo " (( \${+functions[module]} )) || source /usr/env-modules/init/zsh"
+ echo ""
+}
+
+post_upgrade() {
+ post_install
+}
+
+