Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

setopt globdots in _path_files



_path_files in bart-8 does a setopt globdots. The result is that all my
dot files are listed when I complete files without my typing the
initial dot. I think that _path_files should honour the user's setting
of globdots so if the option is required for some part of _path_files
to work properly, it should make sure it still behaves as if it hadn't
set globdots. Otherwise the patch below should do.

Oliver Kiddle

--- Completion/Core/_path_files.bak	Wed Nov  3 06:19:51 1999
+++ Completion/Core/_path_files	Thu Nov  4 20:06:45 1999
@@ -10,7 +10,7 @@
 
 typeset -U prepaths exppaths
 
-setopt localoptions nullglob rcexpandparam globdots
+setopt localoptions nullglob rcexpandparam
 unsetopt markdirs globsubst shwordsplit nounset
 
 local sopt='-' gopt='' opt



Messages sorted by: Reverse Date, Date, Thread, Author