1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-30 02:52:12 +01:00

unposted: prvent zshaddhistory() from looking like a Yodl macro

This commit is contained in:
Peter Stephenson 2008-08-11 09:18:18 +00:00
parent 20c2246d68
commit 342999a629
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2008-08-11 Peter Stephenson <pws@csr.com>
* unposted: Doc/Zsh/func.yo: prevent zshaddhistory() looking
like a Yodl macro.
* 25429: Rocky Bernstein: Test/E01options.ztst,
Test/E02xtrace.ztst: don't assume PS4 is set to the default.

View file

@ -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
})