summary refs log tree commit diff
path: root/Completion/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Core')
-rw-r--r--Completion/Core/compdump1
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Core/compdump b/Completion/Core/compdump
index 3cccbd06e..92e47c19f 100644
--- a/Completion/Core/compdump
+++ b/Completion/Core/compdump
@@ -19,6 +19,7 @@ setopt extendedglob
 typeset _d_file _d_f _d_bks _d_line _d_als
 
 _d_file=${_comp_dumpfile-${0:h}/compinit.dump}.$HOST.$$
+[[ $_d_file = //* ]] && _d_file=${_d_file[2,-1]}
 
 typeset -U _d_files
 _d_files=( ${^~fpath:/.}/^([^_]*|*~|*.zwc)(N:t) )