1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-06-10 18:58:03 +02:00
Commit graph

12434 commits

Author SHA1 Message Date
Peter Stephenson
96beb5ced9 53738: Fix memory leak in command substitution.
This happened if the substituion had a here document but the parse failed.
2025-06-10 16:56:41 +01:00
Ryan Rotter
4171ca5648 53734: update macos completions
tweaked per workers/53735
2025-06-05 19:54:38 -05:00
Mikael Magnusson
309c05aaa9 unposted: fix return value in _subversion 2025-06-05 15:07:07 +02:00
Christopher Bock
07a50d57a2 github : completion: minor updates
_apt-file: add list-indices (wording tweaked by dana)

_bug: update bts backends from `reportbug --bts help` output

_debsnap: complete -l as --list

_deb_architectures: update archs (source: popcon)

_losetup: remove "--delete"

_rsync: add PROGRESS2 to --info

_x_utils: add eventtype "button"
2025-06-05 01:41:21 -05:00
Christopher Bock
606967dbdc github : completion: remove wanna-build
last seen in squeeze
2025-06-05 01:41:21 -05:00
Christopher Bock
abced20c0a github : completion: add debmany, dhomepage, dpkg-info, which-pkg-broke
dhomepage tweaked by dana
2025-06-05 01:41:21 -05:00
bryango
2a3b09d669 github : completion: darwin/_networksetup: fix socks flags 2025-06-04 17:22:57 -05:00
dana
bde2b183ff 53709: tests: add misc. glob-qualifier tests 2025-06-03 02:01:35 -05:00
dana
a9bde1b8d1 53709: docs: clarify glob-qualifier syntax 2025-06-03 02:01:35 -05:00
dana
6600350d20 github : completion: add col 2025-06-03 01:59:01 -05:00
Bart Schaefer
1a61fa3745 53713: ${ ... } should not clobber $REPLY
Also fix some ChangeLog email address paste errors
2025-05-31 08:10:33 -07:00
Ling Wang
62d717a860 completion: _gcc: Add c1x c2x c23 c2y gnu2x gnu23 gnu2y
Signed-off-by: Ling Wang <lingwang@wcysite.com>
2025-05-26 17:47:17 -05:00
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