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

PATCH: documentation for new _history_complete_word



This patch should only be applied at the same time as my rewrite of
_history_complete_word.  The rewrite didn't make it into pws-6; maybe
because there are still (very slight) problems with duplicates
removal?  Any ideas on solutions to this problem, or will we have to
wait for Sven to get back?

Index: Doc/Zsh/compsys.yo
===================================================================
RCS file: /usr/local/cvsroot/zsh/Doc/Zsh/compsys.yo,v
retrieving revision 1.3
diff -u -r1.3 compsys.yo
--- Doc/Zsh/compsys.yo	1999/09/23 11:32:49	1.3
+++ Doc/Zsh/compsys.yo	1999/09/27 01:35:34
@@ -1597,6 +1597,15 @@
 to the pathname of a file containing color names in the format of an
 X11 tt(rgb.txt) file.
 )
+item(tt(history_list))(
+If this is set to a non-empty string, the tt(_history_complete_word)
+bindable command will list all available matches.
+)
+item(tt(history_remove_all_dups))(
+If this is set to a non-empty string, the tt(_history_complete_word)
+bindable command will remove all duplicate matches, rather than just
+removing consecutive duplicates.
+)
 item(tt(history_sort))(
 If this is set to a non-empty string, completion functions that
 generate words from the history as possible matches sort these words



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