1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 22:32:12 +02:00
Commit graph

1950 commits

Author SHA1 Message Date
Stephane Chazelas
fa9b3ad597 52704: improve zsh_eval_context documentation 2024-03-08 11:07:05 +00:00
Bart Schaefer
330821de01 52692: local typeset of the name of a named reference hides the reference 2024-03-05 21:13:33 -08:00
Stephane Chazelas
b56250e9b9 52685: fix typo in the name of bash's BASH_ENV variable. 2024-03-05 19:57:35 +00:00
Bart Schaefer
610b18875a 52650 plus minor fixes: add -u for named references pointing to "upper" scope 2024-03-04 21:07:01 -08:00
Oliver Kiddle
05c7b21e2b 52646: extend support for highlight groups to completion explanation strings and WATCHFMT 2024-03-05 00:11:02 +01:00
midchildan
36a2d5cfa4 52641: incarg: add a backward variant and make it repeatable 2024-03-05 00:05:21 +01:00
Oliver Kiddle
5331ff11c6 52594: support for POSIX real-time signals with kill and trap
Also add new -L option to kill for a more verbose listing of signals
2024-02-28 00:21:11 +01:00
Bart Schaefer
6b21e5c0e2 52559: revise "typeset -p" with respect to local readonly special parameters
Update doc and tests to describe handling of global readonly specials and
to account for side-effects on zsh/param/private.
2024-02-20 20:16:03 -08:00
Peter Stephenson
a6ea122867 52549: document return works in a script 2024-02-19 11:10:04 +00:00
midchildan
374051cae5 52523: fixes to preceding incarg patch 2024-02-15 15:47:18 +01:00
midchildan
fb9a7cc5dd 52520: add new features and improvements to the "incarg" ZLE widget
- Decrement integers without defining a new widget
- Preserve the number of leading zeros
- Increment binaries, octals, and hexadecimals
- Move the cursor to the end of the incremented integer
- Create a sequence of integers across terminal panes
- Add a Vim variant
- Also add tests
2024-02-15 15:40:37 +01:00
Oliver Kiddle
173c0b14ab 52535: documentation for highlight groups and layers 2024-02-15 14:50:59 +01:00
Bart Schaefer
791aaf88cc cf. users/29635: additional detail of parameter expansion in math context. 2024-02-04 20:46:49 -08:00
Bart Schaefer
8801665e5b 52513: fixes and doc for using nofork substitutions with private parameters
Also fixes a crash bug with {fd}>&N redirections and private parameters
2024-02-03 12:07:14 -08:00
Bart Schaefer
18400b68e4 52510: document how ${ ... } et al. affect use of "private"; add index entries 2024-01-28 18:22:36 -08:00
Bart Schaefer
2a538491eb 52496 + 52377: clarify SPROMPT behavior when CORRECT_ALL is set 2024-01-24 18:06:44 -08:00
Bart Schaefer
c72b4a74ef 52473: zstyle -q for testing existence of a zstyle setting 2024-01-24 17:32:45 -08:00
Bart Schaefer
d6e4ddd4d4 52465: use NULL_GLOB when expanding zmv input pattern to avoid NOMATCH exit 2024-01-05 20:38:58 -08:00
Oliver Kiddle
618f842b46 52326, 52372: add -q option to kill for sigqueue 2023-12-05 18:51:33 +01:00
Jun-ichi Takimoto
9e6a54a368 52356: add missing function index entries 2023-12-04 16:47:24 +09:00
Bart Schaefer
fbec213cc5 52325: Clarify doc for edge cases of named references and nofork substitution
Unposted whitespace change avoids a parse error in ${ ... } with comments.
2023-11-23 13:23:55 -08:00
Bart Schaefer
e32da86111 Unposted (cf. 52296): correct description of "vared -e" 2023-11-18 16:08:28 -08:00
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