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

12050 Commits

Author SHA1 Message Date
Marlon Richert b41dd30c90 51761: Use zstyle verbose for _parameters descriptions
According to the manual, extra-verbose means "more verbose at the cost
of a probable decrease in completion speed". That's not the case here.
2023-05-21 03:28:43 +02:00
Marlon Richert caa1c38c6f 51348: Fix subscript completion bugs inside ~[...]
When completing inside ~[...] (_with_ the trailing `]` present), the
following bugs occured:
- Subscript completion was skipped entirely when there were one or more
  slashes ('/') in the subscript, which is incorrect, since slashes are
  allowed there.
- Instead of going through _complete, $_comps[-subscript-] was called
  immediately, causing _setup to be skipped.
- If succesful, _main_complete was exited right after, causing
  menu-style, comppostfuncs and other essential completion features to
  be skipped.
2023-05-21 03:24:17 +02:00
Marlon Richert 9a5f213573 51759: Show alias values in command completions
Show the value of each alias when descriptions are shown. Enabled by default.
2023-05-21 03:14:27 +02:00
Marlon Richert 1f64d09127 51760: r and R were listed in the wrong order. 2023-05-21 03:08:00 +02:00
Marlon Richert bb441f77a7 51758: Make dynamic dir completion easier to implement 2023-05-21 03:05:20 +02:00
Peter Stephenson a95198e268 51722: Safety for extracting elements of $historywords 2023-05-13 21:49:07 +01:00
Oliver Kiddle b4d1c756f5 51738: support pcre's alternative DFA matching algorithm 2023-05-13 00:59:00 +02:00
Oliver Kiddle f3f371deb3 51728: assign pcre named capture groups to a hash 2023-05-13 00:56:48 +02:00
Oliver Kiddle b62e911341 51723: migrate pcre module to pcre2 2023-05-13 00:53:32 +02:00
Felipe Contreras 9b9f3adde8 50612: vcs_info: fix typo 2023-05-13 00:44:01 +02:00
Vidhan Bhatt 51d5ddb02b github #98: feat: add `shortcuts` completions 2023-05-13 00:31:47 +02:00
Bart Schaefer 8943b5e450 users/29070: clean up tokens in cmdstr before compctl completion 2023-05-11 12:37:52 -07:00
Jim f376f95c47 51609: fix reference to select(2) 2023-05-11 12:32:49 -07:00
Shohei YOSHIDA 8bee6e6f92 51340: update _rake for version 13 2023-05-11 11:48:32 -07:00
Shohei YOSHIDA ace2822019 51331: update _pydoc for version 3.11 2023-05-11 11:44:38 -07:00
Bart Schaefer b242121983 51593: improve search for command name after skipping prefix assignments
This is aimed mostly at use of run-help as a standalone function rather
than as a widget.  When run-help is invoked outside widget context,
there's no source line to search for the original command name, so this
attempts searching the arguments.
2023-05-10 21:17:51 -07:00
Jun-ichi Takimoto 7f2bdf55a3 51692: not skip tests for [[ -r/-N file ]] on Cygwin 2023-05-08 12:53:37 +09:00
Bart Schaefer 858b8de3d7 51670: prevent possible underflow in gettext() 2023-04-22 14:40:23 -07:00
Jun-ichi Takimoto ba3631b414 51663: fix a typo in 51582 (_ssh) 2023-04-18 13:03:39 +09:00
Peter Stephenson 8f5fe841a6 51652: fix running of TRAPEXIT explicitly.
This is a special case where TRAPEXIT is unset within a TRAPEXIT
as it should never run in a nested context, so just save the
function structure temporarily on the heap.
2023-04-17 09:30:34 +01:00
Peter Stephenson d6e69b7299 Add missed ChangeLog entry for 12e5db14 2023-04-13 11:18:43 +01:00
Jun-ichi Takimoto e5f8cc99f5 51639: new parameter ZSH_EXEPATH (full path of zsh executable)
The full pathname is obatined by a reliable method on macOS and systems
that support procfs. But on other systems (FreeBSD, OpenBSD, ...) it is
guessed from argv[0], PWD and PATH.
2023-04-11 22:10:33 +09:00
Jun-ichi Takimoto 8a9aea907a 51631: initialize $_ by copying it from environment 2023-04-09 20:44:58 +09:00
Jun-ichi Takimoto 98b4d4bdca 51632: nmetafy $_ when exporting it to child 2023-04-09 20:33:32 +09:00
Jun-ichi Takimoto b411dc5702 51597: fix 'vared -c var' when var is unset 2023-04-03 16:04:31 +09:00
Jun-ichi Takimoto c006d76097 51604: %M in TIMEFMT should report in kilobytes 2023-03-30 14:58:07 +09:00
Peter Stephenson 12e5db145b 51608: Don't execute commands after "continue &&"
Also ! continue ||
2023-03-29 10:52:05 +01:00
Mikael Magnusson 6d40d9b63b 51602: Handle SIGIOT as an alias to SIGABRT if they are the same signal number 2023-03-28 13:00:10 +02:00
Shohei YOSHIDA 121810dba6 51589: Update nm options
- Update Binutils nm 2.40.0
- Update elftoolchain nm 0.7.1
2023-03-27 21:14:47 +02:00
Oliver Kiddle 324d0e7cc7 51603: complete dates and times in the form that git accepts 2023-03-27 21:11:34 +02:00
Peter Stephenson 6763f45e77 58586: print "%s" with invalid multibyte character
Treat each byte that is invalid or part of an incopmlete set as a single byte.
2023-03-22 10:24:11 +00:00
Oliver Kiddle 9bd477dce9 51583: update completion of git attributes 2023-03-16 22:16:52 +01:00
Oliver Kiddle 6386dd94fd 51582: openssh 9.3 completion update 2023-03-16 22:15:28 +01:00
Oliver Kiddle ea229be4cf 51581: update completions to cover changes in OpenBSD 7.2 2023-03-16 22:12:48 +01:00
Bart Schaefer 4b7a9fd0ec 51573: additional "typset -p -m" fix for namespaces
The "-m pattern" option is supposed to enable printing namespaces, but
that didn't work when combined with -p.

The -p option could also cause an unset parameter to become set if a
named reference pointed at it.
2023-03-14 20:51:15 -07:00
Bart Schaefer dd13048b3b 51572: fix "shift" error when running standalone 2023-03-13 19:46:39 -07:00
Sven Joachim 6725cbc05f Sven Joachim: 51563: Fix unmatched double quote 2023-03-13 19:44:25 -07:00
Bart Schaefer 32ffa7453d Merge intervening change by OPK. 2023-03-11 13:23:16 -08:00
Bart Schaefer 29503debc7 51558: Clarify "for" with positional parameters and named reference. 2023-03-11 13:22:10 -08:00
Bart Schaefer 25dceb1dea 51557: Clarify availability of ksh-mode parameters, improve vi-mode detection. 2023-03-11 13:20:21 -08:00
Oliver Kiddle 211682b78f 51539: don't complete diff options to git blame 2023-03-11 13:52:05 +01:00
Bart Schaefer 8424fe5e23 51534: update for recent changes in zsh.h 2023-03-07 17:57:06 -08:00
Bart Schaefer 42640b2613 51511: More discussion of unsupported ksh features 2023-03-06 20:08:12 -08:00
Bart Schaefer b17431e6dd 51511: Documentation for namespaces 2023-03-06 20:04:31 -08:00
Bart Schaefer 8d009d35a9 51510: Skip namespaces in "set"/"typeset" output, add tests, fix bug 2023-03-06 20:01:04 -08:00
Bart Schaefer 0562be0af8 51509 (+ fix typo): Add ${(!)name} for the referred-to name of a named reference
Extend ${!name} in ksh emulation for same
2023-03-06 19:54:48 -08:00
Bart Schaefer ac1bf482ba 51524: dependency on zsh/zle for linkage 2023-03-06 14:54:28 -08:00
Bart Schaefer 9bd9693fdb 51486: clarify module development section 2023-03-05 14:21:18 -08:00
Bart Schaefer ea0bd72dd8 51485: module for several ksh93 features, mostly enabled only in ksh emulation. 2023-03-05 14:16:31 -08:00
Bart Schaefer 4bc1f6e0d2 51484: Extend named reference handling for special parameters, improve doc. 2023-03-05 14:06:25 -08:00