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

12372 commits

Author SHA1 Message Date
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
dana
d905c7a0d7 52108: docs: document benefits of _normal -p
note: commit was severely delayed
2024-12-16 10:37:55 -06:00
Clinton Bunch
86d5f24a3d 53228: Remove references to Patches "Archive" from FAQ 2024-11-23 23:25:37 +01:00
Wu, Zhenyu
cdb457841c github #122: Add c17, iso9899:2017, c18, iso9899:2018, gnu17, gnu18, c++20, gnu++20, c++23, gnu++23 to gcc completion 2024-11-23 23:20:27 +01:00
Shlomi Fish
9269deb528 github #123: Make okular's completion support *.epub files. 2024-11-23 23:19:59 +01:00
Ryan Rotter
d7866eff3b github #124: _dpkg: remove --largemem, --smallmem options
These options were deleted in 2009:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468106
2024-11-23 22:37:06 +01:00
Oliver Kiddle
3c0f932300 53243: fix use of vi-fetch-history with a range 2024-11-23 22:31:44 +01:00
Oliver Kiddle
638e09af6e 53244: rename user in test case to reduce likelihood of failure due to user existing 2024-11-23 22:29:19 +01:00
Lukáš Zaoral
4ca2f3fd7d Remove stray invisible byte from 47731 entry 2024-11-22 14:21:06 -08:00
Jun-ichi Takimoto
b70b241cc5 53238 (+53239 Mikael): support dnf5
some options etc for dnf4 are also updated
2024-11-21 12:26:51 +09:00
Bart Schaefer
ec8fc4024f Karel Balej: 53240, 53241: updated completions for mpc add, mpc insert 2024-11-12 19:48:56 -08:00
Jun-ichi Takimoto
6973a9ea84 53137 + 53213: support creating intro.html 2024-11-12 12:34:39 +09:00
Eric Cook
393cb298aa 53174: add Completion/Base/Utility/_as_if 2024-11-11 10:46:08 -05:00
Eric Cook
9b8af0900f 53144: _sysctl: support completion with the dot delimiter on linux 2024-11-11 09:27:52 -05:00
Bart Schaefer
f282ff5792 53209 + tests: do not unmetafy via string pointers into global parameter table 2024-11-05 13:50:51 -08:00
Bart Schaefer
ac1fd06d7c 53146: flags cannot be copied from an undefined function (cf. ca6f4466) 2024-10-16 13:07:56 -07:00
Jun-ichi Takimoto
383526da42 53134: use -undefined dynamic_lookup on recent macOS 2024-10-02 11:57:33 +09:00
Bart Schaefer
ec57ac0940 53103: fix spurious test failure on Solaris 2024-09-21 18:02:33 -07:00