dana
8438d3e703
unposted: ChangeLog: fix minor attribution-line errors
2025-05-16 12:16:19 -05:00
dana
0767fdaae3
53626: tests: make whence -s
test use grep -c
instead of wc -l
...
fixes broken test on platforms like macos where `wc -l` output is padded
2025-05-16 12:11:50 -05:00
dana
b1f003e0ff
unposted: NEWS: mention _shadow + mkshadow
...
see workers/50323
2025-05-14 17:55:33 -05:00
Bart Schaefer
25399e5437
unposted: fix silly bug wherein ${(!)ref} uppercased the referent name
2025-05-14 13:39:14 -07:00
Christopher Bock
ead0dd6b76
github #133 : _which: complete whence -x
2025-05-14 15:05:10 -05:00
Daniel Shahaf
8e95a9ca31
unposted: Remove a spurious blank link, which affected the rendered output.
2025-05-14 16:51:14 +00:00
Daniel Shahaf
60639c67f0
users/30257: Add a test for an ERR_RETURN bug fixed in workers/51076.
2025-05-14 16:34:19 +00:00
Daniel Shahaf
5db0d046b6
53607: Stop printing /usr/bin/foo -> /usr/bin/foo in 'whence -s'.
...
Makes the new test PASS.
Review-by: Bart Schaefer
2025-05-14 14:53:12 +00:00
Daniel Shahaf
ed0c98f63f
53524 (cf. 53607): Add an XFAIL test for a 'whence -s' bug involving non-symlink arguments.
2025-05-14 14:51:51 +00:00
dana
a2f390701a
53588: zsystem flock: handle optargs in the same word
...
with small tweak to test, just in case
2025-05-13 22:14:09 -05:00
Bart Schaefer
b0fa403a3d
53602: "typeset -nu" always refers to at a call level above the declaration
2025-05-12 21:29:16 -07:00
Bart Schaefer
1706805d46
unposted: fix bad pointer found by valgrind
2025-05-09 17:00:33 -07:00
Bart Schaefer
abd541e18c
53568: fix additional problems with reference scoping, update documentation
...
Scope exits could miss some scope updates in named reference chains.
References declared -u behave like any other reference upon scope exit.
2025-05-09 16:38:28 -07:00
Peter Stephenson
d01a2870ea
53532: mark --enable-zsh-mem as deprecated.
2025-05-09 09:31:37 +01:00
Bart Schaefer
f555e902db
53546,53557 (plus test): Fix scoping of "placeholder" named references
...
When using placeholders declared several levels earlier than assignment:
1) Searching "up" for "typeset -n -u" could find deeper locals than intended
2) Searching for a subscript reference could skip to the top level
3) Exiting a function scope could incorrectly change the reference level
2025-05-06 10:50:53 -07:00
Max 👨🏽💻 Coplan
d89f3a1d08
53535: fix builds with interactive manpagers
2025-05-04 07:33:56 -05:00
Peter Stephenson
7de89c9576
53529: A04redirect fix.
...
Sometimes permissions in system directories can affect the error for non-existent
files. Use the local directory instead.
2025-05-01 09:16:45 +01:00
Mikael Magnusson
001cba48ce
unposted: README: add missed note about <<< redirection
...
this was meant to be posted as part of workers/49813, but it was missed in the
actual commit somehow. see workers/53528
2025-04-28 16:39:13 -05:00
dana
80de57d5a6
53527: remove zgetopt
...
reverts most of 84ef0c523
, 0e369f37d
, and 9b68cf38f
feature was not ready. may be re-added after 5.10 release
2025-04-28 16:23:29 -05:00
dana
9b68cf38f0
unposted: document zparseopts's lack of support for abbreviating long options
...
per workers/53520
2025-04-27 10:36:49 -05:00
dana
0e369f37d6
unposted: docs: adjust zgetopt wording
...
per workers/53518
2025-04-27 10:04:49 -05:00
dana
84ef0c5238
53516: add zgetopt contrib function
2025-04-27 07:58:23 -05:00
dana
2601c19186
53515: tests: correct ztst documentation error
2025-04-27 07:47:53 -05:00
Mikael Magnusson
ad677029f8
unposted: fix seq numbers for old changelog entry
2025-04-24 20:08:36 +02:00
Eric Cook
dd21cda278
unposted: Test release: zsh-5.9.0.2-test.
2025-04-20 20:40:42 -04:00
Eric Cook
b86f5d4c62
53463: _hosts: allow overriding the default matching control
2025-04-20 09:46:27 -04:00
dana
8c3c457321
53483: zparseopts -G: accept only '--' as parsing terminator
2025-04-19 18:48:31 -05:00
dana
494fcd1799
53482: zparseopts -G: always add options with optional args to array with =
2025-04-19 18:47:00 -05:00
Bart Schaefer
bacc78ec3f
53454: fix interrupt handling in savehistfile()
2025-04-15 10:03:23 -07:00
Eric Cook
ba1473181f
unposted: add missing Changelog entry for _typeset fix
2025-04-15 10:35:02 -04:00
Eric Cook
86cc28004d
53485: NEWS: update for version 5.10
2025-04-15 10:29:21 -04:00
Mikael Magnusson
e19cfe7cac
_typeset: fix typo
2025-04-14 02:11:45 +02:00
dana
18a49bd7c5
unposted: NEWS: update per w/53257 and w/53260
2025-04-13 16:55:58 -05:00
Kyle Andelin
73c70cece0
53449: do not complete indices for empty array subscripts
2025-04-04 20:57:51 +02:00
Oliver Kiddle
5858f6a122
53445: extra-verbose mode support on some recent Linux and BSD systems
2025-04-04 12:49:31 +02:00
Bart Schaefer
e7163e69d9
53431: fix assignment via named reference to parameters in outer scopes
2025-03-31 15:25:34 -07:00
Frank Dana
b707a60351
53414: attempting to preview the "restore" keyword is nonsensical
2025-03-31 15:22:00 -07:00
Frank Dana
d70b70ada6
53413: "print -rP" in preview, in case of special characters
2025-03-31 15:17:42 -07:00
Oliver Kiddle
435cb1b748
53399: don't load ZLE early to set keymap
...
When zsh is run with -o vi / -o emacs, instead of loading ZLE to force
the change, only record the option state. Then when ZLE starts, the vi
option determines the default keymap.
2025-03-03 01:30:32 +01:00
Oliver Kiddle
71f35afa1c
53394: drop OSC and DCS sequences in key input
...
They are likely to be terminal query responses not keys. If they do match a
keybinding that's not affected. Also does likewise for certain CSI sequences.
2025-03-03 01:15:24 +01:00
Bart Schaefer
d315401a03
53368: ignore no-op changes to EMACS/VI options
2025-03-02 11:23:22 -08:00
Oliver Kiddle
eb8e217f1b
53395: complete snapshot ranges for zfs destroy
2025-02-28 20:58:34 +01:00
Ronan Pigott
f77e469ad6
53393: Complete python module arguments
...
Python modules can behave like commands in their own right. This allows
modules to define _python_module-* functions that are used to complete
module arguments. Also gets the ball rolling by defining completions for
venv, http.server, and json.tool.
2025-02-28 20:54:22 +01:00
Vadim Misbakh-Soloviov
1818323f45
github #129 : fix _gpg completion
...
1) As for now, `--local-user` completion is irrelevant: it completes system users, while gpg expects private keys IDs
2) `secret-keys` completion was also broken and completed nothing.
The reason of that to happen was in that fact that it assumed `uid` token would be next after `fpr` (same as it do in public-keys completion), while in current gnupg versions there is at least `grp` token, and potentially can be others.
So, instead i+=2 I made `until "uid"` loop.
2025-02-27 16:07:36 +01:00
Oliver Kiddle
e160cf85f0
53378: support new pipebuf resource limit on FreeBSD
...
Also add other newer limits to the documentation.
2025-02-27 16:02:02 +01:00
Bart Schaefer
8701313c61
53363: permit "typeset -n +m pattern"
...
Also fix spurious error printing the value of a read-only named reference
2025-02-15 14:29:51 -08:00
Oliver Kiddle
2e08ea1aef
53358: adapt completion to reflect 53348 and extend exclusion lists to cover more + options
2025-02-13 23:11:09 +01:00
Bart Schaefer
3ce354c049
53360: domenuselect() fails if the previous completion did not generate a list
...
(fix for segfault)
2025-02-12 20:11:47 -08:00
Bart Schaefer
6b25a593d9
53346 (cf. 53350): Util/helpfiles: fix use of "man" on file paths
2025-02-12 20:06:43 -08:00
Bart Schaefer
7a54b36fa8
53348: Revise handling of incompatible typeset options when used with -n
2025-02-12 20:03:07 -08:00