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

PATCH: Document set-local-history more explicitly



Is this more or less correct? If someone wants to reword that's welcome too.

---
 Doc/Zsh/zle.yo |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index c3c3acd..f9c20de 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -1486,6 +1486,14 @@ line up to the cursor.
 This leaves the cursor in its original position.
 )
 enditem()
+tindex(set-local-history)
+item(tt(set-local-history))(
+By default, history movement commands visit the imported lines as well as
+the local lines. This widget lets you toggle this on and off, or set it with
+the numeric argument. Zero for both local and imported lines and nonzero for
+only local lines.
+)
+enditem()
 texinode(Modifying Text)(Arguments)(History Control)(Zle Widgets)
 subsect(Modifying Text)
 startitem()
-- 
1.7.10-rc2



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