1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-05 23:26:38 +02:00
Commit Graph

12280 Commits

Author SHA1 Message Date
Peter Stephenson a6ea122867 52549: document return works in a script 2024-02-19 11:10:04 +00:00
Jun-ichi Takimoto d2f63d0d92 * 52544: _diff_options: support macOS Ventura or newer 2024-02-19 08:50:27 +09:00
Bart Schaefer 4a86a54d2b 52558: word splitting differences of nofork; update ToC; formatting fixes 2024-02-18 14:25:20 -08:00
Bart Schaefer 336249e7ea unposted: referent of named reference cannot start with digits
This duplicates ksh behavior and doesn't change useful functionality.
2024-02-18 12:19:25 -08:00
Stephane Chazelas f1e7481b86 45837: fix process group restoration upon exit 2024-02-18 18:56:39 +00:00
Bart Schaefer c2cf21c8f0 Merge branch 'master' of git://git.code.sf.net/p/zsh/code 2024-02-18 10:32:07 -08:00
Bart Schaefer 00b12da9c0 52556: regression test for unset referent (left out of last commit) 2024-02-18 10:31:21 -08:00
Stephane Chazelas b3cad1c24c 52515: (+ tests in 52527) avoid sh errors when running shebang-less scripts with paths starting with - or + 2024-02-18 18:22:37 +00:00
Bart Schaefer 8c59638522 52556: fix crash when changing type of unset referent via named reference 2024-02-17 20:27:56 -08:00
Mikael Magnusson 74722b8d4e 52546: incarg: avoid unneeded subshell 2024-02-16 13:17:26 +01: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
Poncho 2d2086557e github #112: Completion: todo.sh uses shorthelp and not showhelp 2024-02-15 14:55:17 +01:00
Oliver Kiddle 173c0b14ab 52535: documentation for highlight groups and layers 2024-02-15 14:50:59 +01:00
Oliver Kiddle 14c230dc32 52533: add module to provide alternate readonly views of the content of .zle.hlgroups 2024-02-15 14:48:04 +01:00
Mikael Magnusson 04ae7dc64c 52526: metafy terminfo capabilities 2024-02-09 19:33:43 +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 58ff6c68d5 52521: mapfile (mis)handling of empty/unreadable files 2024-02-04 16:13:31 -08:00
Mikael Magnusson 653be0823d 52517: ensure that %H is followed by {
The previous code would accept any character after %H assuming it
was a {, which was probably also a buffer overrun sometimes.
2024-02-04 16:48:44 +01:00
Mikael Magnusson ec446a6f34 52516: fix crash in %H when hlgroups is empty
typeset -A .zle.hlgroups; print -P %H
2024-02-04 16:48:02 +01:00
Bart Schaefer c8f0946ddc unposted: updates and fixed omissions for the printdefines utility 2024-02-03 22:00:35 -08:00
Bart Schaefer 2744208ab3 unposted: elaboration on Roman's "slurp" implementation from zsh-users 2024-02-03 20:10:52 -08:00
Bart Schaefer c039a74e09 Typos in previous commit comments 2024-02-03 19:55:41 -08:00
Bart Schaefer ce8909b494 unposted: Record as comments some notes about namespace usage exceptions. 2024-02-03 19:52:39 -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 d7cf4f25eb 52509: manage internals of stdio objects when performing redirections. 2024-01-28 17:14:23 -08:00
Oliver Kiddle 85545af42b 52500: add layer token to zle attributes
This provide control over the precedence of highlighting where
different regions overlap.
2024-01-28 00:47:36 +01:00
Oliver Kiddle 3c5dacd503 52499: support highlight groups
These are defined in a .zle.hlgroups associative array and referenced
using %H in prompt strings or hl= in zle_highlight/region_highlight.
2024-01-28 00:34:21 +01:00
Oliver Kiddle 8e622c25b2 unposted: remove unused variable to silence compiler warning 2024-01-28 00:28:06 +01:00
Jörg Sommer fe276d3873 52442: mark hookdef.name as const
At least *zle_main* uses const strings to initialize its
structure *zlehooks*.
2024-01-28 00:24:06 +01:00
Jörg Sommer 4929910267 52444: module: Mark name argument of some functions const 2024-01-28 00:23:56 +01:00
Jörg Sommer 98affe1115 52441: zle_vi: Mark variables with const init as const
Because these variables are initialized with as constant string, they should
be marked as *const* to make the compiler running with `-Wwrite-strings`
more happy.
2024-01-28 00:23:43 +01:00
Jörg Sommer ce033e2b9c 52440: zle.textobjects: Mark variables as const
Because these variables are initialized with as constant string, they should
be marked as *const* to make the compiler running with `-Wwrite-strings`
more happy.
2024-01-28 00:23:22 +01:00
Oliver Kiddle 698af7bc13 52405, 52502: add empty elements to $match for optional captures that don't match 2024-01-26 07:33:38 +01:00
OpenSauce 742049a4cb github #110: Fix incorrect completion for `dnf --showduplicates` 2024-01-26 07:26:47 +01:00
Aurélien Olivier 0119a57e9c github #108: add perlbrew completion 2024-01-26 07:23:14 +01:00
Bart Schaefer 1a3ebb68d6 52385: avoid "tr" in test output formatting 2024-01-25 21:58:25 -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 1f861ceba1 52492: prevent indexing error on recursive arithmetic in array subscript
Operator returns error when operand returns error
2024-01-24 18:00:16 -08:00
Bart Schaefer b3e763cc22 52482: strip trailing newlines in emulation modes of ${ command; } 2024-01-24 17:56:21 -08:00
Bart Schaefer 0fccdf0d57 52476 + cf. 52479: more FAQs about nofork substitution 2024-01-24 17:42:36 -08:00
Bart Schaefer 0459cc2eaf 52477: fix "zcurses mouse delay ..." and one other typo 2024-01-24 17:36:18 -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 3406089647 52468: save and restore state of correct TTY when using read -s / -d 2024-01-24 17:27:41 -08:00
Wu Zhenyu dde12593db Fix a typo
$ valgrind --tool=massif --help | grep time-unit
    --time-unit=i|ms|B        time unit: instructions executed, milliseconds
2024-01-14 13:48:51 -06: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
Jun-ichi Takimoto a528af5c57 52413: support Citrus version of iconv on macOS, DragonFly, NetBSD 2023-12-16 23:22:58 +09:00
Florian Weimer 4c89849c98 52383: Avoid incompatible pointer types in terminfo global variable checks 2023-12-13 11:49:19 +01:00
Oliver Kiddle 0b5850c162 52394: alter form of /dev/fd test to work where /bin/sh is ksh such as on Solaris 11 2023-12-13 11:45:38 +01:00