1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-07-23 20:51:02 +02:00
Commit graph

12422 commits

Author SHA1 Message Date
Christopher Bock
454bc91dea github : completion: add cacaclock (caca-utils)
with minor tweaks to fix things lost when addressing feedback
2025-05-25 02:36:36 -05:00
dana
8720885648 53662: tests: add extra namespace tests
relates to workers/53660
2025-05-24 09:07:55 -05:00
Mikael Magnusson
e1bb74cfb7 53664: remove a slightly confusing example 2025-05-23 10:55:03 +02:00
Mikael Magnusson
bfb8ec65a6 53660: Clarify namespaces starting with a . 2025-05-22 04:03:18 +02:00
dana
87c055fb4d 53636: docs: clarify valid parameter names 2025-05-19 18:31:56 -05:00
RocketDev
d02b58b96a 53633: docs: add note about compadd -o requiring explicit group name
rewording of https://github.com/zsh-users/zsh/pull/135
2025-05-19 18:28:34 -05:00
Daniel Shahaf
f24958a7ab unposted (mentioned on github ): __git_worktrees: Match the order of $(git worktree list).
The output of __git_worktrees() now matches the output of `git worktree list`
exactly, modulo the 'list-separator' style.
2025-05-18 03:06:59 +00:00
Daniel Shahaf
2ccf41e577 github (+ implement commit review suggestion): __git_worktrees: Use a library function
Using _describe makes the completions and descriptions line up in
columns, and makes the function honour the list-separator style.
2025-05-18 03:06:16 +00:00
Daniel Shahaf
fceece6a8a unposted: Fix a ChangeLog typo reported offlist. 2025-05-17 02:35:33 +00:00
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 : _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