1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-11 01:36:03 +02:00
Commit Graph

164 Commits

Author SHA1 Message Date
Daniel Shahaf 490478378f unposted: docs: Fix a cross-reference. 2020-01-16 16:32:39 +00:00
Peter Stephenson cb4dc95643 45009: POSIX_CD needs to suppress some forms of option.
Otherwise forms of argument allowed by POSIX are interpreted as
options instead.
2019-12-12 10:47:00 +00:00
dana 78fb8aaccf 44198: Add cd_silent option to suppress all cd output 2019-04-12 14:00:19 -05:00
Martijn Dekker 4215fcb107 43944: apply NO_UNSET consistently to arithmeitc 2018-12-30 18:03:02 +00:00
Peter Stephenson 5f6a52c06c 42156: new CHECK_RUNNING_JOBS option demanded by bash groupies
Also new job options.

Also suppress debug error if rows or columns are reported as zero as
this is normal without a physical terminal.
2017-12-22 20:21:23 +00:00
Daniel Shahaf 77a39b57bf 42031 + 42048: Make [[ -o invalidoption ]] a normal(ish) false value, rather than a syntax error. 2017-11-24 22:10:27 +00:00
Chris Bracken 2c00d2132c github #19: Fix minor typo in INC_APPEND_HISTORY documentation 2017-11-13 21:06:35 +01:00
Peter Stephenson 97d4bdbc7e 41590 modified as 41595: make ERR_RETURN more logical.
It now operates separately at each function depth.

To keep ERR_EXIT global, make the noerrexit variable usd bit flags.

Extend tests.
2017-08-24 19:46:20 +01:00
Peter Stephenson a9b579a9d3 Revert "41499 (with one further tweak): POSIX_STRINGS behaviour."
This reverts commit 2eacbef919.

Conflicts:
	ChangeLog
2017-08-08 19:04:49 +01:00
Peter Stephenson 2eacbef919 41499 (with one further tweak): POSIX_STRINGS behaviour.
Ignore a terminating delimiter when splitting as separators
despite being called separators are terminators.
2017-08-07 18:47:43 +01:00
Peter Stephenson d4b94b5e83 41464, 41466: With POSIX_BUILTINS, exec only executes sexternal commands.
Document the default behaviour and add a test.
2017-07-27 09:22:04 +01:00
Daniel Shahaf ce7a98fc05 users/22653: options.yo: Clarify REMATCH_PCRE semantics.
Presently, if the option is set but the module is unavailable, using '=~' sets
errflag.
2017-04-05 13:15:37 +00:00
Peter Stephenson 20d464944b 40875: Update REC_EXACT description, suggested by Martin Krafft 2017-03-21 09:59:15 +00:00
Øystein Walle e329a8d62d 40568: REMATCH_PCRE is not enabled by default, fix doc. 2017-02-17 15:34:03 +00:00
Peter Stephenson c861b17bbf 40391: Add WARN_NESTED_VAR option and functions -W.
These are companions to WARN_CREATED_GLOBAL, warning when a variable
from an enclosing scope is altered.
2017-01-23 09:50:57 +00:00
Peter Stephenson bb218704d2 40306 with doc tweaks: Change behaviour expanding alias in () function definition.
Now an error unless the () is part of the same error as the name.
Add ALIAS_FUNC_DEF option to allow it again.
2017-01-10 19:14:26 +00:00
Oliver Kiddle fc286168ed unposted: fix duplicated words 2016-07-08 22:21:42 +02:00
Barton E. Schaefer 25ae250068 unposted: when ksharrays is set, braces are required for all parameter expansions with colon-modifiers 2016-06-18 16:20:38 -07:00
Peter Stephenson 524f802610 37489, tweaked: with POSIX_IDENTIFIERS create math var as scalar 2016-01-03 18:57:10 +00:00
Jun-ichi Takimoto 623d318581 37085: fix doc: DEBUG_BEFORE_CMD is set by default 2015-11-09 23:48:24 +09:00
Peter Stephenson 58f4cccb1f 37022: add GLOB_STAR_SHORT option to abbreviate ** and *** 2015-10-30 12:28:07 +00:00
Daniel Shahaf 2654cb43f6 36651: WARN_CREATE_GLOBAL += math expressions
Without this, '() { (( x=42 )) }' and '() { for (( i=0; … )) }' wouldn't warn
about $x and $i, respectively, being created global.
2015-09-27 23:52:25 +00:00
Peter Stephenson d01a8a4553 unposted: fix formatting typo in options list. 2015-06-29 19:24:31 +01:00
Peter Stephenson 7708849b21 35655: APPEND_CREATE option for POSIX copmatible NO_CLOBBER 2015-06-29 19:01:31 +01:00
Barton E. Schaefer 2f0213d733 35626: update POSIX_CD to note that it is on in ksh and sh emulations 2015-06-26 20:45:54 -07:00
Peter Stephenson 39b28980f3 various posts: Implement assignment parsing for typeset.
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.
2015-06-24 10:21:12 +01:00
Peter Stephenson 370e7f73f6 35442: document MULTIBYTE is always on by default when available 2015-06-11 12:41:05 +01:00
Daniel Shahaf 9dc173efc3 unposted: Typo fix 2015-06-02 10:08:17 +00:00
Peter Stephenson 75cafccc0a 35343: Avoid $#name length handling for POSIX_IDENTIFIERS 2015-05-31 16:40:14 +01:00
Peter Stephenson 2b08d0ed67 35318: POSIX_BUILTINS behaviour for getopts.
It needs to keep OPTIND, as well as the index within the
string pointed to by OPTIND, global in this case.
2015-05-28 18:32:39 +01:00
Jun-ichi Takimoto ffdeb1c257 35075: improve manual format
also fixed a ChangeLog entry for 35034 (2015-05-06)
2015-05-12 00:36:18 +09:00
Jun-ichi Takimoto 36a55e278e 35034: improve manual format up to Chapter18 2015-05-06 10:45:21 +09:00
Han Pingtian 959aa75423 34880: POSIX_TRAPS doc 2015-04-13 11:30:23 +01:00
Han Pingtian 20982001b1 34875: CSH_JUNKIE_HISTORY doc 2015-04-13 11:26:52 +01:00
Han Pingtian cea8b471f6 users/20078: HIST_BEEP doc 2015-04-13 11:21:12 +01:00
Han Pingtian 5b2bb68364 34822: correction to GLOB_SUBST doc 2015-04-01 09:31:48 +01:00
Han Pingtian 26cfae830c 34785: fix typo in SHINSTDIN doc 2015-03-27 10:36:45 +00:00
Peter Stephenson 3a99ef322d 34280: more widespread use of FORCE_FLOAT.
Add the case of variables read for use in arithmetic expressions.
2015-01-15 13:52:40 +00:00
Peter Stephenson e33411990e AUTO_CD behaviour depends on SHIN_STDIN, document 2014-11-11 19:51:05 +00:00
Oliver Kiddle 31df6c4d32 33643: elaborate documentation of the PRIVILEGED option 2014-11-09 17:53:25 +01:00
Peter Stephenson b4f7ccecd9 33531 with additions: retain status of exited background jobs.
Add linked list of unwaited-for background jobs.
Truncate at value of _SC_CHILD_MAX discarding oldest.
Remove old lastpid_status mechanism for latest exited process only.
Slightly tighten safety of permanently allocated linked lists so
that this doesn't compromise signal handling.
2014-10-26 17:47:42 +00:00
Mikael Magnusson 7eb949a6bb Fix some typos in the documentation 2014-10-03 04:54:48 +02:00
Jun T 0853bcfdd6 32781: source behaves like . w.r.t. path search 2014-06-16 20:15:35 +01:00
Jun T 522908c7ff 32779: fix a typo in options.yo 2014-06-14 16:14:38 +02:00
Peter Stephenson b5198b10a1 32768 with further modifications: LOCAL_LOOPS option. 2014-06-13 21:39:44 +01:00
Peter Stephenson 7f6dc0fe8e 32682 with tweaks: Add INC_APPEND_HISTORY_TIME.
Revert INC_APPEND_HISTORY behaviour.
2014-06-06 21:56:47 +01:00
Barton E. Schaefer 19f3161e51 32634: add POSIX_ARGZERO option 2014-06-01 15:01:37 -07:00
Tomoki Sekiyama 0da28f323d 32592: add CORRECT_IGNORE_FILE variable 2014-04-29 10:44:09 +01:00
Barton E. Schaefer 21d01000be unposted: fix typo 2014-04-06 09:57:20 -07:00
Peter Stephenson 6ebb9f6a31 unposted: document effect of 32479 on POSIX_TRAPS 2014-03-14 19:41:18 +00:00