summary refs log tree commit diff
path: root/Completion/compdump
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/compdump')
-rw-r--r--Completion/compdump5
1 files changed, 3 insertions, 2 deletions
diff --git a/Completion/compdump b/Completion/compdump
index 068383c22..e0dc8b805 100644
--- a/Completion/compdump
+++ b/Completion/compdump
@@ -101,9 +101,10 @@ bindkey |
 print >> $_d_file
 
 
-# Autoloads: look for all functions beginning with `_'.
+# Autoloads: look for all defined functions beginning with `_' (that also
+# exists in fpath: see workers/38547).
 
-_d_als=(${(o)$(typeset +fm '_*')})
+_d_als=($^fpath/(${(o~j.|.)$(typeset +fm '_*')})(N:t))
 
 # print them out:  about five to a line looks neat