summarylogtreecommitdiffstats
path: root/zshcomp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'zshcomp.patch')
-rw-r--r--zshcomp.patch1
1 files changed, 1 insertions, 0 deletions
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')