1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-18 14:06:03 +02:00
Commit Graph

11866 Commits

Author SHA1 Message Date
Bart Schaefer 61f35bb626 50355: documentation and return status consistency in zsh/system module 2022-06-11 15:02:46 -07:00
Jun-ichi Takimoto 6a6e358baf 50356: work around a yodl bug (mishandling of \'e)
the bug has been fixed at least in yodl-4.04.02
2022-06-11 14:09:02 +09:00
Bart Schaefer 285b6c2538 50363: avoid use of heap memory that depends on parameter scoping 2022-06-09 15:10:43 -07:00
Matthew Martin d4955bc0f9 50359: fix bad sticky-emulation in "functions -c" 2022-06-09 13:37:51 -07:00
Bart Schaefer d24ab95469 50351: "functions -c" can set signal traps 2022-06-09 13:30:55 -07:00
Jun-ichi Takimoto c36068357b 50342: fix test added by 50306 2022-06-09 15:08:39 +09:00
Bart Schaefer 734740a5ed 50341: disallow here-document markers containing newline 2022-06-08 20:48:42 -07:00
Bart Schaefer 52761c9418 50335: simplify "wait" usage, fix signal handling
- remove the preliminary "wait" for all the process
- remove "nomonitor" (because it was only needed for that "wait")
- explicitly adds traps to exit for tty-generated signals plus TERM
- capture the signal trap context and restore it in background jobs
- wrap in an "always" block to clean up local helper functions
- update comments to note another buglet and drop support for zsh 4.x.
2022-06-08 20:41:24 -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
Bart Schaefer a99f96797f 50323: create helper for shadowing builtins or existing functions and use it when redefining compadd et al. 2022-06-04 14:19:42 -07:00
Bart Schaefer 3e3cfabcc7 50325: revert 38150 and fix in calling function cfp_matcher_range() instead 2022-06-03 20:08:15 -07:00
Jun-ichi Takimoto 22b1a91c2a 50306: fix wait for child that was stopped/continued
do not call addbgstatus() when child is stopped/continued
2022-06-03 19:32:56 +09:00
Bart Schaefer 8756cc6add Marlon Richert: 50307 (cf. PWS 50205): suffix aliases should not collide with directory names when completing 2022-05-30 12:02:50 -07:00
Peter Stephenson e4557ef852 50287: Use getcwd by default. 2022-05-26 09:33:43 +01:00
Peter Stephenson 92da264eea 50286: avoid zed error if nounset is in effect 2022-05-26 09:32:33 +01:00
Norbert Lange dd2c882ae1 github #94: Support .zst kernel modules with modutils 2022-05-25 22:51:02 -05:00
Norbert Lange c1f1bbc5b9 github #93: Replace /etc/mtab with /proc/self/mounts for Linux
/proc/self/mounts has been available since Linux 2.4.19,
released in 2002. /etc/mtab is usually a symlink to this
file but might not exist
2022-05-25 22:50:48 -05:00
Bart Schaefer 1e52cd968d 50278: use `man -w` in preference to `manpath`; fix caching and precedence of -M 2022-05-22 15:50:45 -07:00
Arvid Norlander a54d704579 github #91: _find (gnu/freebsd/darwin): Add some flags and syntaxes
* -exec and -execdir can take ; or + as an ending marker. Previously only ; was
  supported. This is part of POSIX for -exec (support for + for -ok is optional
  and none of the implementations I looked at seem to support that).

* Missing completion for -files0-from (GNU find 4.9.0 and later). This flag
  needs to go with the global flags at the beginning and load the paths from
  the given file instead of from the command line.

* Missing completion for the -newerXY family of flags (GNU find 4.3.3, also
  available in FreeBSD and MacOS at least).
2022-05-20 21:50:50 +00:00
Bart Schaefer 545c42cdac 50229: Typo 2022-05-14 21:36:27 -07:00
Bart Schaefer 84dde7c7b6 Jan Brieg: 50212 (and discussion): Add "bright" color variants 2022-05-14 20:34:28 -07:00
Axel Beckert 361de369ed 50220: Documentation: Fix typos found by Debian's Lintian tool 2022-05-15 00:41:38 +02:00
dana 74647ade06 unposted: Post-release version bump 2022-05-14 14:13:12 -05:00
dana 73d317384c unposted: Release 5.9 2022-05-14 13:59:21 -05:00
Jun-ichi Takimoto c190883a0a 50192: use set{u,g}id() for dropping privilege on NetBSD 2022-05-11 11:22:46 +09:00
dana eec9882d04 50176 (tweaked): Improve htop completion
* Correct -v to -V
* Make -u argument optional
* Enable option stacking
* Improve descriptions
* Fix broken sort keys with htop 3.x and add new key descriptions
* Remove _sequence limit on -p
* Add several missing options

+ Fixed a typo and an erroneous comment in the original patch

Thanks to GitHub user xpufx, whose work formed the initial basis of this
change (see zsh-users/zsh pull #89)
2022-05-08 01:32:04 -05:00
Bart Schaefer 67d9a47d79 50184: fix inclusion of -S separator in -r options passed to compadd through _describe 2022-05-07 16:54:31 -07:00
Bart Schaefer 44829c19e8 Marlon Richert: 49954: gradle completion improvements
* Adjust the pattern for matching tasks. The old one was too strict,
  causing it to filter out perfectly valid tasks.
* Add completion of subproject names.
* Prevent subproject tasks from overwriting the main task description.
* Require `:` prefix for showing subprojects.
* Require a subproject prefix before showing subproject tasks.
* Standardize the use of completion tags.
* Rebuild the cache if it can't be read or doesn't contain the required
  arrays.
2022-05-07 16:50:59 -07:00
Bart Schaefer 251772f8d1 unposted: cross-reference "typeset -f" for "functions -[Tt]" 2022-05-07 16:45:09 -07:00
Bart Schaefer 23dab58b8e Fix problems with tests for 50126 and 50150. 2022-05-02 20:31:47 -07:00
Bart Schaefer 1fd328e84c Merge because I forgot to "git pull" before committing Test changes 2022-05-01 12:29:50 -07:00
dana f72ce8843e unposted: Test release: 5.8.1.3-test 2022-05-01 12:26:33 -07:00
dana 8ffefd841a unposted: Mention #zsh topic in creating-a-release
Per off-list suggestion
2022-05-01 12:25:58 -07:00
Bart Schaefer 8fac1b7c62 50160: Regression tests for 50126, 50136, and 50149 2022-05-01 12:17:33 -07:00
Daniel Shahaf f80f880c4b 50157: Tests for 50150 2022-05-01 12:13:08 -07:00
Bart Schaefer cc264fb58b 50159: Tests for sysread, including 50101 regression 2022-05-01 11:56:28 -07:00
dana 32100208ec unposted: Test release: 5.8.1.3-test 2022-05-01 04:58:54 -05:00
dana 847e214f99 unposted: Mention #zsh topic in creating-a-release
Per off-list suggestion
2022-05-01 04:39:58 -05:00
Bart Schaefer afbbde2828 unposted: remove the reference to debian #924736, and correct another edit 2022-04-30 23:04:48 -07:00
Bart Schaefer a58d2bb315 Typo in previous commit 2022-04-30 12:31:06 -07:00
Bart Schaefer fc1ae21fda unposted: Add details about ${(*)...} expansion 2022-04-30 12:29:52 -07:00
Bart Schaefer 276020522e 50150: Filenames need unmetafy for printing 2022-04-30 11:24:21 -07:00
Bart Schaefer 079bb60289 Add entry for 50149 2022-04-30 11:21:57 -07:00
Bart Schaefer e127ceaae8 50149: Remove all remaining =(...) files at shell exit 2022-04-30 11:21:03 -07:00
Bart Schaefer 8181708feb 50136: Fix =(nosuchcommand) race/deadlock first reported in workers/42609 2022-04-29 20:37:09 -07:00
Bart Schaefer 15bf8ace16 50134: Tweak process group handling to prevent unkillable pipelines
In some cases the process group leader of the forked-left side of a
pipe needs to be set to the pipe process PID rather than to the group
leader PID returned by entersubsh().
2022-04-29 20:25:53 -07:00
Bart Schaefer 8eccdc5cb7 Details about STTY handling; consistency nit 2022-04-29 20:15:24 -07:00
Bart Schaefer b6be798848 50138: Note ERRNO must be set before use. 2022-04-28 23:50:31 -07:00
Bart Schaefer df0c783f4b 50133: use read-ahead and lseek-rewind for efficient line-buffered input 2022-04-28 21:06:51 -07:00
Bart Schaefer 007c7df74a 50101: sysread -o with param adjusted to match documentation 2022-04-28 17:08:10 -07:00