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

12389 commits

Author SHA1 Message Date
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
Oliver Kiddle
eb8e217f1b 53395: complete snapshot ranges for zfs destroy 2025-02-28 20:58:34 +01:00
Ronan Pigott
f77e469ad6 53393: Complete python module arguments
Python modules can behave like commands in their own right. This allows
modules to define _python_module-* functions that are used to complete
module arguments. Also gets the ball rolling by defining completions for
venv, http.server, and json.tool.
2025-02-28 20:54:22 +01:00
Vadim Misbakh-Soloviov
1818323f45 github #129: fix _gpg completion
1) As for now, `--local-user` completion is irrelevant: it completes system users, while gpg expects private keys IDs

2) `secret-keys` completion was also broken and completed nothing.
The reason of that to happen was in that fact that it assumed `uid` token would be next after `fpr` (same as it do in public-keys completion), while in current gnupg versions there is at least `grp` token, and potentially can be others.
So, instead i+=2 I made `until "uid"` loop.
2025-02-27 16:07:36 +01:00
Oliver Kiddle
e160cf85f0 53378: support new pipebuf resource limit on FreeBSD
Also add other newer limits to the documentation.
2025-02-27 16:02:02 +01:00
Bart Schaefer
8701313c61 53363: permit "typeset -n +m pattern"
Also fix spurious error printing the value of a read-only named reference
2025-02-15 14:29:51 -08:00
Oliver Kiddle
2e08ea1aef 53358: adapt completion to reflect 53348 and extend exclusion lists to cover more + options 2025-02-13 23:11:09 +01:00
Bart Schaefer
3ce354c049 53360: domenuselect() fails if the previous completion did not generate a list
(fix for segfault)
2025-02-12 20:11:47 -08:00
Bart Schaefer
6b25a593d9 53346 (cf. 53350): Util/helpfiles: fix use of "man" on file paths 2025-02-12 20:06:43 -08:00
Bart Schaefer
7a54b36fa8 53348: Revise handling of incompatible typeset options when used with -n 2025-02-12 20:03:07 -08:00
Jun-ichi Takimoto
51cb3f0f83 unposted: remove a few more files by 'make clean'
Doc/zsh.{idx,kys} and Etc/FAQ{01-06}.html. These files are already in
.gitignore
2025-02-04 15:43:52 +09:00
Eisuke Kawashima
8cddd97297 github #118: completion(git-rebase): non-interactive mode also supports --autosquash 2025-01-30 13:02:39 +01:00
Oliver Kiddle
13417c2701 53338: complete typeset -n option 2025-01-30 12:53:48 +01:00
Oliver Kiddle
20990fa7e4 53337: allow nameref -p 2025-01-30 12:51:37 +01:00
Oliver Kiddle
e3f7f2fc85 53336: avoid GNU make specific use of $< in a non-inference rule 2025-01-30 12:47:08 +01:00
Oliver Kiddle
86a0891952 53335: Remove unused dupstring_glen() function
Also make use of the dupstring_wlen() variant in more places to avoid a strlen()
2025-01-30 12:42:09 +01:00
Oliver Kiddle
f7b5cc431b 53332, 53334: Avoid strlen calls after sprintf 2025-01-30 12:30:40 +01:00
Oliver Kiddle
4f3d69e2a0 53329: adapt .zle.sgr for CSI sequences that use : instead of ; 2025-01-27 23:50:27 +01:00
GI
45b79fa2cb github #128: Updated completion for neovim 2025-01-27 23:45:22 +01:00
Wu, Zhenyu
a61b105795 github #126: Fix some typos 2025-01-27 23:39:05 +01:00
Kouhei Yanagita
9f9ceb7768 github #125: Add completion for irb --no-pager 2025-01-27 23:35:03 +01:00
Oliver Kiddle
a07ff879c0 unposted: fix quoting in openldap completion 2025-01-27 23:35:03 +01:00
Oliver Kiddle
65285fac23 53327: update for git 2.47 2025-01-27 23:35:03 +01:00
Oliver Kiddle
4e4274eda6 53328: completion options update 2025-01-27 23:34:59 +01:00
Oliver Kiddle
f3b865b915 53326: completion updates for core Linux utils 2025-01-27 23:06:16 +01:00
Oliver Kiddle
87aba4d437 53325: cover newer BSD releases in completion 2025-01-27 23:00:17 +01:00
Bart Schaefer
db01c79cf8 Julian Prein: 53309: remove uncommon / obsolete options -t and -W 2025-01-20 10:57:58 -08:00
Bart Schaefer
263659acb7 53294: fix multibyte handling in "select" prompts 2025-01-03 09:18:23 -08:00
Jun-ichi Takimoto
3f43a2ffd1 53293: fix menu() and texinode() in yodl docs 2025-01-03 23:38:21 +09:00
dana
98e486fb56 53297: Test/A08time: allow %nU/%nS result to be 0 2025-01-02 17:13:04 -06:00
dana
32cd93bcb0 unposted: _zparseopts: update per workers/53260 2025-01-02 17:13:04 -06:00
dana
d051857e03 53260: zparseopts: add options -v (argv) and -G (GNU-style parsing) 2024-12-26 10:09:31 -06:00
dana
6bb792dba8 53257: use monotonic clock where appropriate
update the following features to use the monotonic clock for calculating time
deltas and intervals:

* MAILCHECK parameter
* PERIOD parameter
* SECONDS parameter
* %(nS.t.f) prompt-expansion sequence
* time built-in's elapsed time and cpu % values
* zsh/zftp ZFTP_TMOUT parameter
* zsh/zprof timings

also use CLOCK_MONOTONIC_RAW instead of CLOCK_MONOTONIC on macOS
2024-12-26 10:09:25 -06:00
dana
7798fd88ac 53251: _man: fix page completion on macOS, update fall-back paths, etc.
- fix broken page completion on macOS and FreeBSD (regression caused by
  workers/50278)

- update fall-back paths to include /usr/local/share/man (fixes issues like
  workers/53249 for systems without `manpath` or equivalent)

- fold macOS completion into FreeBSD's, as macOS 13+ uses it now with little
  modification

- add -K option for FreeBSD and -h option for mandoc/NetBSD, complete
  pre-processor sequences, complete section lists with commas for man-db

- exclude HTML pages for FreeBSD-likes
2024-12-16 11:01:23 -06:00