1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-21 19:31:50 +02:00
Commit Graph

1928 Commits

Author SHA1 Message Date
Oliver Kiddle
de635b4ee5 52253: support pcre callouts with shell evaluation of the callout string 2023-11-02 14:54:59 +01:00
Mikael Magnusson
457ab9f9fe 52222: Document bracketed-paste-url-magic 2023-10-17 04:54:05 +02:00
Bart Schaefer
e4e9afe373 52180: clarify array behavior of ${|var|...} and REPLY 2023-09-23 09:30:55 -05:00
Atte Peltomäki
d92b1a3547 51980: Add glob qualifier grouping operator to completion
Also improve wording in documentation to make glob qualifier grouping
easier to find by explicit use of terms 'logical OR' and 'logical AND'.
2023-09-20 20:17:09 +02:00
Bart Schaefer
3aaef16569 52154, 52155: Implement, document, and test non-forking command substitution.
Comprises workers/51957, 51985, 51987, 51988, 51993, 52131, 52139, plus
fixes for return values, parse errors, and trailing newlines (which were
incorrectly removed) in ${ ... }
2023-09-16 17:34:39 -07:00
Bart Schaefer
2a854aae48 52028: improvements to _shadow / _unshadow, plus helper and doc 2023-08-27 15:22:14 -07:00
Peter Stephenson
7233c7a750 29130, 21931 (Ray): document what typeset -t is for.
This replaces documenting what it isn't for.
2023-08-16 13:18:26 +01:00
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
Jun-ichi Takimoto
ecd3f9c950 51862: support texinfo-7.0 2023-06-19 11:19:25 +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