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

Patch: users style doc

Somewhat tangential to the ssh discussions:  since 22191 the users style
causes a complete list of users not to be generated.

(There weren't any complaints about that change back in February, but we
could do it a more flexible way by making it only ignore the system
users if the users variable began with a "-", say, or the other way
round: also include userdirs if the users style begins with a +.)

Index: Doc/Zsh/compsys.yo
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/compsys.yo,v
retrieving revision 1.193
diff -u -r1.193 compsys.yo
--- Doc/Zsh/compsys.yo	27 Sep 2006 16:54:00 -0000	1.193
+++ Doc/Zsh/compsys.yo	10 Oct 2006 09:23:18 -0000
@@ -2603,9 +2603,10 @@
 kindex(users, completion style)
 This may be set to a list of usernames to be completed.
-If it is not set or the string on the line
-doesn't match any of the strings in this list, all usernames will be
+If it is not set all usernames will be completed.
+Note that if it is set only that list of users will be completed;
+this is because on some systems querying all users can take
+a prohibitive amount of time.
 kindex(users-hosts, completion style)

Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070

To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php

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