Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 45110: zshmisc(1): Fix markup of "try-list" and "always-list". | Daniel Shahaf | 2019-12-22 | 1 | -12/+12 |
| | |||||
* | 45111: zshmisc(1): Clarify the documentation of 'return' and 'exit' in ↵ | Daniel Shahaf | 2019-12-22 | 1 | -5/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | conjunction with try/always Having reviewed 20076, 20084, 21734, and 21735, my understanding is that the original intention was: - A 'return' in a function does run always-list - An 'exit' outside a function does not run always-list - A 'return' outside a function is treated as an 'exit' All of which are the case today. The remaining case, of 'exit' used inside a function, was not specified by the referenced -workers@ posts; does, as implemented, run the always-list; and furthermore, based in 21734 it's fair to assume that the original documentation was assuming that 'exit' would be used outside of any function, just like it assumed 'return' would be used inside a function. Therefore, have the documentation specify only the behaviour of 'exit' outside any function, and leave the behaviour of 'exit' inside a function unspecified. Anyone who relied on the documentation of 'exit' as documented until this commit would have run into the documentation/implementation discrepancy described in 45075. | ||||
* | 43904 (plus tweak): zshmisc(1): document term being optional if `in word' is ↵ | Joey Pabalinas | 2018-12-17 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | | | | | omitted In code such as: > hobbes% () { for arg do print -r $arg; done; } 1 2 3 > 1 > 2 > 3 the implicit positional parameters added when the `in word ...' list is omitted also implicitly append the separator term, making the above code valid, albeit seemingly violating the syntax listed in the documentation. This is related to the various forms of alternative syntax and is the intended behavior of the parsing code, so correct the minor contradiction in the for loop documentation. | ||||
* | 42261: docs: Expand documentation of $histchars[1]. Joint with Matthew Martin. | Daniel Shahaf | 2018-01-13 | 1 | -1/+2 |
| | |||||
* | 41939: docs: Move aliases corner case to the dangerous bends section. (after ↵ | Daniel Shahaf | 2017-10-30 | 1 | -3/+4 |
| | | | | 41482) | ||||
* | 41842: aliasing documentation update | Peter Stephenson | 2017-10-10 | 1 | -9/+29 |
| | |||||
* | 40744: Document the SHORT_LOOPS 'function' syntax. | Daniel Shahaf | 2017-03-08 | 1 | -0/+3 |
| | | | | It's already mentioned in passing in zshoptions(1). | ||||
* | unposted: a few cosmetic format fixes in docs | Jun-ichi Takimoto | 2015-11-13 | 1 | -2/+1 |
| | |||||
* | various posts: Implement assignment parsing for typeset. | Peter Stephenson | 2015-06-24 | 1 | -1/+2 |
| | | | | | | | | | | | | Typeset assignments now work like raw assignments except for no "+=" and no GLOB_ASSIGN. Documented in typeset builtin doc and mentioned in release notes. Tests to ensure basic sanity. Enabled by default, can be turned off by "disable -r" with typeset family of commands. | ||||
* | 35250: Fix case documentation (SH_GLOB) | Peter Stephenson | 2015-05-21 | 1 | -5/+11 |
| | |||||
* | 35034: improve manual format up to Chapter18 | Jun-ichi Takimoto | 2015-05-06 | 1 | -7/+8 |
| | |||||
* | 34734: further aliasing adjustments and doc | Barton E. Schaefer | 2015-03-18 | 1 | -10/+19 |
| | | | | | | | | restrict token aliasing (34641) to global aliases; tighten up POSIX_ALIASES to better match spec; update Aliasing doc to cover this and clarify older behavior 2015-03-18 Peter Stephenson <p.stephenson@samsung.com> * 34723: configure.ac: turn off fixed site function directory if | ||||
* | 34712: clarify words that may be aliased | Barton E. Schaefer | 2015-03-15 | 1 | -2/+18 |
| | |||||
* | 33679: Note on patter s in case statements | Peter Stephenson | 2014-11-19 | 1 | -1/+5 |
| | | | | They work exactly like groups in other patterns, despite contrary indications. | ||||
* | 33319: fix parens in example from 33312 | Barton E. Schaefer | 2014-10-01 | 1 | -1/+1 |
| | |||||
* | 33312: document redirections applied to function definitions | Peter Stephenson | 2014-10-01 | 1 | -0/+9 |
| | |||||
* | Attempt to improve doc for assignment | Peter Stephenson | 2014-07-08 | 1 | -1/+5 |
| | |||||
* | fix my own merge conflict with grammar changes | Peter Stephenson | 2014-06-09 | 1 | -25/+26 |
|\ | |||||
| * | 32715: doc formatting fixes | Jun T | 2014-06-06 | 1 | -25/+26 |
| | | |||||
* | | 32755: move incorrectly placed line in grammar.yo | Jun T | 2014-06-09 | 1 | -1/+1 |
|/ | |||||
* | 32603: fix documentation of status after try / always | Eric Cook | 2014-05-09 | 1 | -1/+1 |
| | |||||
* | 30803: Vin Shelton: missing menu entry in grammar.yo | Peter Stephenson | 2012-11-18 | 1 | -0/+1 |
| | |||||
* | 30789: Add CONTINUE_ON_ERROR for old behaviour. | Peter Stephenson | 2012-11-15 | 1 | -2/+51 |
| | | | | | New behaviour is for scripts to exit on error instead of returning to top level and executing the next command. | ||||
* | A.Costa: unposted: grammar.yo, ChangeLog-3.1: Fix typo to "definition" | Frank Terbeck | 2012-02-01 | 1 | -1/+1 |
| | |||||
* | 29955++: IGNORE_CLOSE_BRACES option | Peter Stephenson | 2011-12-08 | 1 | -2/+2 |
| | |||||
* | 28377: document more alias problems | Peter Stephenson | 2010-11-17 | 1 | -0/+21 |
| | |||||
* | unposted: typo plus rephrase of alias quoting bit | Peter Stephenson | 2010-10-27 | 1 | -6/+7 |
| | |||||
* | 28375: clarify how to quote aliases from expansion | Peter Stephenson | 2010-10-27 | 1 | -6/+9 |
| | |||||
* | 27648, 267650/1, unposted README change: | Peter Stephenson | 2010-02-03 | 1 | -0/+4 |
| | | | | Turn off repeat and turn on ulimit in emulation modes | ||||
* | users/14387 (tweaked): alternative zsh syntax is not going to be removed | Peter Stephenson | 2009-09-15 | 1 | -4/+4 |
| | |||||
* | Mikael: 25143: spelling corrections | Peter Stephenson | 2008-06-10 | 1 | -1/+1 |
| | | | | | 25144: report supported bases 25139: fix number | ||||
* | 25018: Omari Norman: completion for awk, join, sort | Peter Stephenson | 2008-05-13 | 1 | -0/+13 |
| | |||||
* | 24513, 24514, 24515, 24516, 24517, 24518, 24519, 24520, 24521: typo fixes ↵ | Clint Adams | 2008-02-01 | 1 | -1/+1 |
| | | | | from A. Costa. | ||||
* | Phil Pennock + tweaks: 23398 + more tweaks: exec compatibility options | Peter Stephenson | 2007-05-08 | 1 | -13/+40 |
| | |||||
* | 23115: ";|" at end of case clause causes later patterns to be tested | Peter Stephenson | 2007-01-19 | 1 | -4/+13 |
| | |||||
* | unposted c.f. 21735: document return as exit in try block in script | Peter Stephenson | 2005-09-19 | 1 | -2/+3 |
| | |||||
* | c.f. 21071: always use "status" in return and exit status docs | Peter Stephenson | 2005-04-01 | 1 | -6/+7 |
| | |||||
* | 20076, 20084: { ... } always { ... } syntax. | Peter Stephenson | 2004-06-22 | 1 | -0/+56 |
| | |||||
* | Fix errors introduced by 15354. | Bart Schaefer | 2001-07-24 | 1 | -1/+1 |
| | |||||
* | Better indexing and misc. cleanup in the first tenth or so of the doc. | Bart Schaefer | 2001-07-10 | 1 | -2/+7 |
| | |||||
* | 15264: improved doc for variant complex commands | Peter Stephenson | 2001-07-05 | 1 | -8/+16 |
| | |||||
* | 15030: multi-parameter `for' loops | Peter Stephenson | 2001-06-25 | 1 | -4/+13 |
| | |||||
* | 12716: Document and index REPLY/reply paramters properly. | Bart Schaefer | 2000-08-29 | 1 | -0/+1 |
| | |||||
* | doc changes; typo in _jobs; integer builtin understands `-i base' | Peter Stephenson | 2000-05-14 | 1 | -1/+1 |
| | |||||
* | Spelling corrections in the docs (11315) | Oliver Kiddle | 2000-05-11 | 1 | -14/+70 |
| | |||||
* | Initial revision | Tanaka Akira | 1999-04-15 | 1 | -0/+335 |