From 342999a629c449ed96473428b6639f9f6875f681 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 11 Aug 2008 09:18:18 +0000 Subject: unposted: prvent zshaddhistory() from looking like a Yodl macro --- Doc/Zsh/func.yo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Doc/Zsh/func.yo') diff --git a/Doc/Zsh/func.yo b/Doc/Zsh/func.yo index 36b135275..888cf3ce2 100644 --- a/Doc/Zsh/func.yo +++ b/Doc/Zsh/func.yo @@ -264,7 +264,7 @@ history with the newline stripped, which is usually the correct behaviour. Then it switches the history context so that the line will be written to a history file in the current directory. -example(zshaddhistory() { +example(zshaddhistory+LPAR()RPAR() { print -sr -- ${1%%$'\n'} fc -p .zsh_local_history }) -- cgit 1.4.1