1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-12-29 16:25:35 +01:00
Commit graph

12040 commits

Author SHA1 Message Date
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
Bart Schaefer
a9ba166216 51483: Enable assignment and expansion of parameters with ksh-like namespace prefixes. 2023-03-05 14:03:42 -08:00
Bart Schaefer
806d096b0e unposted: fix memory leak flagged by coverity 2023-03-05 13:26:57 -08:00
Mikael Magnusson
86a5278f9f 51491: Check should use zlemetacs instead of zlecs
Coverity noticed that this first branch of the if statement has "meta"
added to all the variable names except this zlecs at the end, so change
it to match.
2023-02-28 14:56:06 +01:00
Bart Schaefer
b3980ecc58 51464: utility to interpret zsh.h constants 2023-02-26 19:26:46 -08:00
Bart Schaefer
3d8c567d58 Fix typo 2023-02-26 19:18:19 -08:00
Bart Schaefer
ec4bd3169d 51460: avoid crash on bad parameter autofeature 2023-02-26 18:54:10 -08:00
Shohei YOSHIDA
d76004588b 51473: Update cal/ncal completion
- Support util-linux and bsdmainutils cal on Linux
- Support each BSD's implementations
2023-02-24 14:43:27 +01:00
Sebastian Stark
bb36b80178 51470 (tweaked, c.f. 51476): Separate cdpath elements in path-directories completion 2023-02-24 14:40:38 +01:00
Oliver Kiddle
f604645d06 51474: make -e and --vault-id options repeatable and update for new options to ansible 2.13.2 2023-02-24 12:34:14 +01:00
Peter Stephenson
82f307bddf Fix access to autoloaded parameter.
Namerefef resolution needs to happen on the parameter after autoload.
2023-02-21 12:16:40 +00:00