Bart Schaefer
c4cfb67465
unposted (cf. 51968): improve documentation of typeset -gn and -r
2023-07-26 20:27:51 -07:00
Bart Schaefer
baa19d2a85
51945: assorted documentation improvements, bug fixes, and new test
...
1) Document the behavior of "typeset -n existing_var" (via Jun T. comment)
2) Prohibit "typeset -nm pattern" because, well, it's insane. Add test.
3) Improve doc for ${(!)ref} including ${{t!)ref} (Jun T.)
4) Fix doc for how-to unset of a named ref (Jun T.)
5) Allow "typeset +r -n ref" and "typeset +r +n ref" (Jun T.)
6) Fix "typeset -r -n ref=param" to create readonly references
7) Avoid accidental removal of PM_UNSET flag (Jun T.) and update test
8) Fix "typeset -gn ref=value" and add a test for it
9) Add tests for read-only reference behavior
10) Fix infinite recursion when resolving scope of an unset local
named reference, add test.
2023-07-26 20:15:21 -07:00
Bart Schaefer
d70e3780fc
unposted (cf. 51899): document _shadow
2023-07-26 19:39:15 -07:00
Jun-ichi Takimoto
1b9bc3441c
51884: reset IFS if it contains invalid characters
...
This happens only if MULTIBYTE option is on.
2023-06-26 16:52:40 +09:00
Peter Stephenson
78102120b9
51816: add :S history modifier with pattern match
2023-06-06 09:16:46 +01:00
Marlon Richert
1f64d09127
51760: r and R were listed in the wrong order.
2023-05-21 03:08:00 +02:00
Marlon Richert
bb441f77a7
51758: Make dynamic dir completion easier to implement
2023-05-21 03:05:20 +02:00
Oliver Kiddle
b4d1c756f5
51738: support pcre's alternative DFA matching algorithm
2023-05-13 00:59:00 +02:00
Oliver Kiddle
f3f371deb3
51728: assign pcre named capture groups to a hash
2023-05-13 00:56:48 +02:00
Jim
f376f95c47
51609: fix reference to select(2)
2023-05-11 12:32:49 -07:00
Jun-ichi Takimoto
e5f8cc99f5
51639: new parameter ZSH_EXEPATH (full path of zsh executable)
...
The full pathname is obatined by a reliable method on macOS and systems
that support procfs. But on other systems (FreeBSD, OpenBSD, ...) it is
guessed from argv[0], PWD and PATH.
2023-04-11 22:10:33 +09:00
Jun-ichi Takimoto
8a9aea907a
51631: initialize $_ by copying it from environment
2023-04-09 20:44:58 +09:00
Bart Schaefer
29503debc7
51558: Clarify "for" with positional parameters and named reference.
2023-03-11 13:22:10 -08:00
Bart Schaefer
25dceb1dea
51557: Clarify availability of ksh-mode parameters, improve vi-mode detection.
2023-03-11 13:20:21 -08:00
Bart Schaefer
42640b2613
51511: More discussion of unsupported ksh features
2023-03-06 20:08:12 -08:00
Bart Schaefer
b17431e6dd
51511: Documentation for namespaces
2023-03-06 20:04:31 -08:00
Bart Schaefer
ea0bd72dd8
51485: module for several ksh93 features, mostly enabled only in ksh emulation.
2023-03-05 14:16:31 -08:00
Bart Schaefer
4bc1f6e0d2
51484: Extend named reference handling for special parameters, improve doc.
2023-03-05 14:06:25 -08:00
Bart Schaefer
3d8c567d58
Fix typo
2023-02-26 19:18:19 -08:00
Bart Schaefer
acb15e3cc9
51403: Tests and documentation for 51402, clean up some other tests.
2023-02-12 11:57:31 -08:00
Bart Schaefer
e807ac1157
51375: Clarify documentation, fix typos, add indexing.
2023-02-12 11:32:11 -08:00
Bart Schaefer
102145b048
51362: Begin documentation for named references.
2023-02-12 11:25:42 -08:00
Daniel Shahaf
bffdbccda6
51354: Fix markup in man page version
2023-02-02 17:57:35 +00:00
Peter Stephenson
76d095df9d
51306: error message in ${unset?error} should be expanded
2023-02-02 10:12:17 +00:00
Bart Schaefer
88ccf2be1e
51337: parameter attributes cross-reference typeset equivalents (or lack thereof)
2023-01-31 17:08:57 -08:00
Oliver Kiddle
be2c91bbc3
51291: support for highlighting ellipses in the line editor
2023-01-10 21:13:52 +01:00
Oliver Kiddle
c01479a2ed
51280: add support for italic and faint fonts in the line editor
2023-01-10 20:57:03 +01:00
Max Coplan
d23bcf1171
51263: fix typo - an path
-> a path
2022-12-31 14:20:07 +01:00
Oliver Kiddle
35a2f155c3
51214: handle read -d and a delimiter that can't be decoded into a character
...
Terminate input at the raw byte value of the delimiter.
Also document and test the use of an empty string as a way to specify
NUL as the delimiter.
2022-12-17 00:37:19 +01:00
Philippe Altherr
727079f7e5
51198: Clarify and expand ERR_EXIT and ERR_RETURN documentation
2022-12-13 21:05:13 -08:00
Peter Stephenson
14559421e2
51134: document interactive behaviour with ERR_EXIT and ERR_RETURN
2022-12-12 10:27:29 +00:00
Oliver Kiddle
c4d557bb0a
50934: use OSC 52 escape sequence when copying to "* or "+ vi buffers
2022-11-17 20:05:12 +01:00
Jun-ichi Takimoto
f8d93888a8
50851: restore typtab when necessary
...
inittyptab() must be called when returning from a function with
"setopt localoptions MULTIBYTE|BANGHIST|SHSTDIN", and also in
function dosetopt() when setting these options (via $options, for
example). We intentionally did not take account of the options
EMACS/VI because these options are obsolete and their use is
not recommended.
2022-11-02 16:27:27 +09:00
Bart Schaefer
159c892b9b
50855: Clarify how commands are hashed, and searched-for by "whence".
2022-10-31 16:50:16 -07:00
Axel Beckert
b76dcecfe3
50840: Doc/Zsh/grammar.yo: Correct NO_MATCH to NOMATCH
2022-10-25 12:49:48 +02:00
Bart Schaefer
6b5ee0c17c
users/28243: update "typeset +" documentation
2022-10-23 16:25:04 -07:00
Julian Prein
6e827d8f9a
50648: Use $ZCALC_HISTORY where appropriate
2022-09-25 18:05:49 +01:00
Bart Schaefer
61f35bb626
50355: documentation and return status consistency in zsh/system module
2022-06-11 15:02:46 -07:00
Peter Stephenson
b26b6b3fe0
Tweaks to MULTI_FUNC_DEF
...
Output multiple function definitions using "function" form.
Note exceptions to errors with NO_MULTI_FUNC_DEF
2022-06-07 10:02:14 +01:00
Axel Beckert
361de369ed
50220: Documentation: Fix typos found by Debian's Lintian tool
2022-05-15 00:41:38 +02:00
Bart Schaefer
251772f8d1
unposted: cross-reference "typeset -f" for "functions -[Tt]"
2022-05-07 16:45:09 -07:00
Bart Schaefer
fc1ae21fda
unposted: Add details about ${(*)...} expansion
2022-04-30 12:29:52 -07:00
Bart Schaefer
b6be798848
50138: Note ERRNO must be set before use.
2022-04-28 23:50:31 -07:00
Matthew Martin
73265d41e3
49960: Sort lists in zshcompsys
2022-04-06 20:01:48 -05:00
elig0n
6152200c9b
github #88 : Fix typo
2022-03-31 19:23:08 -05:00
Matthew Martin
95749e9e65
49933: Add nonblock to sysopen
2022-03-31 17:40:41 -05:00
Peter Stephenson
41eb200d66
27639: clarify that ${(#)...} deals with character codes.
2022-03-31 13:57:56 +01:00
Peter Stephenson
98e4634086
49906 (Bart), 49911: Fixes to querying jobs in subshell.
...
Don't attempt to query invalid job off end of table, resulting in
crashes from $jobtstates.
If background task started in subshell, look at tatsks within subshell
instead of main shell. Document and add test.
2022-03-30 09:28:43 +01:00
Mikael Magnusson
d7b8619396
49813: <<<: Document newline behavior and fix optimization
...
The =(<<<foo) optimization forgot to add a newline, but =(cat<<<foo)
always did, make the behavior consistent, and document it.
2022-03-30 08:07:39 +02:00
Bart Schaefer
53d6b47d92
49917: change sense of "Ignore insecure ..." answer and use "autoload -r"
2022-03-29 13:18:49 -07:00