1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-11 22:51:17 +02:00
Commit graph

12204 commits

Author SHA1 Message Date
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
Oliver Kiddle
10c3ed20c7 52393: fix tests on Solaris by omitting -a option to diff as it is not supported there 2023-12-13 11:40:03 +01:00
Oliver Kiddle
58840922ee 52392: use octal escape to match = without error messages from awk 2023-12-13 11:34:12 +01:00
Oliver Kiddle
25f5618b17 52382: avoid the non-standard \e in C code, preferring \033 2023-12-13 11:28:00 +01:00
Bart Schaefer
4da0f689c4 unposted: Fix longstanding typo in comment 2023-12-09 19:48:48 -08:00
Bart Schaefer
71b7008ceb 52366 + fix typo: rename find_targets as _ant_targets, replace one sed with substitution 2023-12-09 19:47:09 -08:00
Bart Schaefer
0ecc456fb2 52365: record state of exited background jobs so as to be visible in TRAPCHLD 2023-12-09 19:36:47 -08:00
Oliver Kiddle
618f842b46 52326, 52372: add -q option to kill for sigqueue 2023-12-05 18:51:33 +01:00
Oliver Kiddle
0394b7cf17 52373: fix _numbers for suffixes containing % and update affected functions 2023-12-05 18:51:33 +01:00
Bart Schaefer
57d70d1b70 unposted: Undo typo in previous commit 2023-12-04 20:24:26 -08:00
Jun-ichi Takimoto
9e6a54a368 52356: add missing function index entries 2023-12-04 16:47:24 +09:00
Bart Schaefer
cceace0eb6 52361: fix quoting of _ant target files 2023-12-02 15:26:46 -08:00
Bart Schaefer
1ba0fff93c 52360: simplify and improve bad-descriptor detection in %prep section 2023-12-02 15:14:12 -08:00
Bart Schaefer
10bb67df5a unposted: Fix email address in some entry attributions 2023-12-02 14:41:01 -08:00
Sebastian Gniazdowski
02a99863b0 52145: Prompt theme with current time and abbreviated VCS_info. 2023-11-29 15:28:56 -08:00
Bart Schaefer
fbec213cc5 52325: Clarify doc for edge cases of named references and nofork substitution
Unposted whitespace change avoids a parse error in ${ ... } with comments.
2023-11-23 13:23:55 -08:00
Oliver Kiddle
7a84713bb7 unposted: fix missing closing brace from 52301 2023-11-22 00:10:23 +01:00
Oliver Kiddle
6aa15f57fd 52315: completion options update 2023-11-22 00:07:37 +01:00
Bart Schaefer
fcf080ab57 52313: Src/exec.c: multios are not interactive and check for write errors. 2023-11-18 16:22:24 -08:00
Bart Schaefer
e32da86111 Unposted (cf. 52296): correct description of "vared -e" 2023-11-18 16:08:28 -08:00
Oliver Kiddle
8f0a8131fa 52307: new completion for many SELinux tools 2023-11-17 18:25:21 +01:00
Oliver Kiddle
6306dcfaa5 52303: updates to completions for macOS 13 2023-11-17 18:13:41 +01:00
Bart Schaefer
ddfc81a2b8 52309: fix cases that hang with all signals blocked.
* no job control inside <<(substition)
* allow interrupt of multios reading from a terminal
2023-11-15 20:29:50 -08:00
Bart Schaefer
0840f34e1f 52308: FAQ for new features, fix some old answers 2023-11-15 20:23:54 -08:00
Bart Schaefer
420d2c713f 52275: rationality in zgetdir() and zgetcwd() 2023-11-15 20:21:51 -08:00
Bart Schaefer
e6ad117ccb 52202: improve handling of quoting in ${var/pattern/replacement} 2023-11-15 20:16:04 -08:00
Matt Koscica
be223aedee github #106: update tmux completion (20230919); tweak Util/check-tmux-state
- update tmux completion functions
- tweak check-tmux-state to take current file format into account
2023-11-14 21:39:30 +01:00