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

Re: completion files sensitive to user options like RC_QUOTES



On Dec 6,  3:27pm, Vincent Lefevre wrote:
}
} I wonder whether it is expected that completion files are sensitive
} to user options.

The intention is that completion files will be auto-loaded from the
completion system after _main_complete has started, where they will be
affected by the set of options that it controls.

RC_QUOTES is a tricky one.  We could do this --

diff --git a/Completion/compinit b/Completion/compinit
index 6612bac..7cb65d5 100644
--- a/Completion/compinit
+++ b/Completion/compinit
@@ -153,6 +153,7 @@ _comp_options=(
     NO_markdirs
     NO_octalzeroes
     NO_posixbuiltins
+    NO_rcquotes
     NO_shwordsplit
     NO_shglob
     NO_warncreateglobal

-- but then expansions of strings the user has typed on the command
line might be handled differently.

If you can verify that the above doesn't break any of your interactive
expectations, I can commit it.



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