1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-26 09:56:05 +02:00

NEWS: read through and tidied up

This commit is contained in:
Peter Stephenson 2004-07-12 10:21:33 +00:00
parent 31e2939157
commit ad81f0055b
2 changed files with 9 additions and 7 deletions

View File

@ -1,5 +1,7 @@
2004-07-12 Peter Stephenson <pws@csr.com> 2004-07-12 Peter Stephenson <pws@csr.com>
* unposted: NEWS: read it through and tidied it up.
* 20151: NEWS: notes on (F) and history -p. * 20151: NEWS: notes on (F) and history -p.
* unposted: improve 20150 by setting pointer to NULL when * unposted: improve 20150 by setting pointer to NULL when

14
NEWS
View File

@ -7,7 +7,7 @@ Changes since zsh version 4.2.0
- The glob qualifier F indicates a non-empty directory. Hence *(F) - The glob qualifier F indicates a non-empty directory. Hence *(F)
indicates all subdirectories with entries, *(/^F) means all indicates all subdirectories with entries, *(/^F) means all
subdirectories with non entries. subdirectories with no entries.
- fc -p and fc -P provide push/pop for the status of the shell's - fc -p and fc -P provide push/pop for the status of the shell's
history (both internal and using the history file). With automatic history (both internal and using the history file). With automatic
@ -18,8 +18,8 @@ Changes since zsh version 4.2.0
- A new `try block' and `always block' syntax has been introduced - A new `try block' and `always block' syntax has been introduced
to make it easier to ensure the shell runs important tidy-up code to make it easier to ensure the shell runs important tidy-up code
in the event of an error. It also runs after a break, continue, or in the event of an error. It also runs after a break, continue, or
return, including a return forced by the ERR_RETURN option, return, including a return forced by the ERR_RETURN option
but not an exit, which is immediate). The syntax is: (but not an exit, which is immediate). The syntax is:
`{' try-block-list `}' `always' `{' always-block-list `}' `{' try-block-list `}' `always' `{' always-block-list `}'
where no newline or semicolon may appear between `}' and `always'. where no newline or semicolon may appear between `}' and `always'.
This is compatible with all previous valid zsh syntax as an `always' This is compatible with all previous valid zsh syntax as an `always'
@ -27,10 +27,10 @@ Changes since zsh version 4.2.0
{ echo Code run in current shell } always { echo Tidy-up code } { echo Code run in current shell } always { echo Tidy-up code }
- A new zle widget reset-prompt has been added to re-expand the current - A new zle widget reset-prompt has been added to re-expand the current
prompt. Note that this does not take account of changes to the prompt. Changes to the variable in use as well as changes in its
prompt variables themselves, only the expansion of the text. The expanions are both taken into account. The same effect is now forced by
same effect is now forced by a job change notification, making a job change notification, making the %j prompt escape and %(j..) ternary
the %j prompt escape and %(j..) ternary expression more useful. expression more useful.
- The zftp module supports ports following the hostname in the normal suffix - The zftp module supports ports following the hostname in the normal suffix
notation, `host:port'. This requires IPv6 colon-style addresses to be notation, `host:port'. This requires IPv6 colon-style addresses to be