diff options
-rw-r--r-- | env-modules-tcl.install | 2 | ||||
-rw-r--r-- | zshcomp.patch | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/env-modules-tcl.install b/env-modules-tcl.install index ed82752942c0..8ddc877a915f 100644 --- a/env-modules-tcl.install +++ b/env-modules-tcl.install @@ -5,7 +5,7 @@ post_install() { 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-tcl/init/zsh" + echo " (( \${+functions[module]} )) || source /etc/modules-tcl/init/zsh" echo "" echo "Adapt /etc/modules-tcl/init/modulerc and add your modulefiles to the specified directories." echo "" diff --git a/zshcomp.patch b/zshcomp.patch index d27e5c45a480..c7d89e70463d 100644 --- a/zshcomp.patch +++ b/zshcomp.patch @@ -9,6 +9,7 @@ +# - support for symlinks +# - directory-wise completion +function _module_completion () { ++ emulate -L zsh + local _module_path_prefix + local -a _module_search_path _module_type_d _module_type_f + _module_path_prefix=$(echo ${(q)words[$CURRENT]} | sed -ne 's#\(.*/\).*#\1#p') |