about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2012-04-19 22:37:41 +0000
committerMikael Magnusson <mikachu@gmail.com>2012-04-19 22:37:41 +0000
commite440ba875df932134065ef02eb7b04adfdb0530d (patch)
treec35f973c55dfdb8f9c92b9a57571f62362c2854e
parentda025c6349ba299d29cd79c0fcd4c907bc5be355 (diff)
downloadzsh-e440ba875df932134065ef02eb7b04adfdb0530d.tar.gz
zsh-e440ba875df932134065ef02eb7b04adfdb0530d.tar.xz
zsh-e440ba875df932134065ef02eb7b04adfdb0530d.zip
30412: document set-local-history
-rw-r--r--ChangeLog7
-rw-r--r--Doc/Zsh/zle.yo8
2 files changed, 14 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 522aa2960..b552fb5b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-04-20  Mikael Magnusson  <mikachu@gmail.com>
+
+	* 30412: Doc/Zsh/zle.yo: Document the set-local-history
+	widget in the list of widgets.
+
 2012-04-16  Peter Stephenson  <pws@csr.com>
 
 	* Michael Prokop: 30414: Completion/Linux/Command/_mdadm: more
@@ -16211,5 +16216,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5633 $
+* $Revision: 1.5634 $
 *****************************************************
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 0fd81ef4a..f5290e149 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -1471,6 +1471,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()