about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-10-05 07:31:00 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-10-05 07:31:00 +0000
commit0f2250de44f1d753d7d9dc7e0d4f8927137bd956 (patch)
tree9b6cc8aadc1d4985e688dbcb16197ae165112b7f /Completion
parent5d4faa678e1a3aede04654e6a914aa348313ecc6 (diff)
downloadzsh-0f2250de44f1d753d7d9dc7e0d4f8927137bd956.tar.gz
zsh-0f2250de44f1d753d7d9dc7e0d4f8927137bd956.tar.xz
zsh-0f2250de44f1d753d7d9dc7e0d4f8927137bd956.zip
complete after autoloaded directories (a rather ugly hack); remove old code in _files (comma separated patterns); improve docs for fake style and for comma separated qualifier lists (12892)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Core/_files2
-rw-r--r--Completion/Core/_path_files4
2 files changed, 5 insertions, 1 deletions
diff --git a/Completion/Core/_files b/Completion/Core/_files
index 96bdbe0e7..8d2b245d0 100644
--- a/Completion/Core/_files
+++ b/Completion/Core/_files
@@ -55,7 +55,7 @@ for def in "$pats[@]"; do
   for sdef in "$def[@]"; do
 
     tag="${${sdef#*[^\\]:}%%:*}"
-    pat="${${${sdef%%:${tag}*}//\\:/:}//,/ }"
+    pat="${${sdef%%:${tag}*}//\\:/:}"
 
     (( $tried[(I)${(q)pat}] )) && continue
 
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files
index 23d32cc0f..b9f578860 100644
--- a/Completion/Core/_path_files
+++ b/Completion/Core/_path_files
@@ -315,6 +315,10 @@ for prepath in "$prepaths[@]"; do
       SUFFIX="${tsuf%%/*}"
     fi
 
+    # Force auto-mounting. There might be a better way...
+
+    : ${^tmp1}/${PREFIX}${SUFFIX}/.(N/)
+
     # Get the matching files by globbing.
 
     if [[ "$tpre$tsuf" = */* ]]; then