about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 48073: Add fc -s as POSIX way of rerunning command without starting editorMartijn Dekker2021-02-173-3/+9
|
* Allow more scripts without #!Justine Tunney2021-02-162-4/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change modifies the zsh binary safety check surrounding execve() so it can run shell scripts having concatenated binary content. We're using the same safety check as FreeBSD /bin/sh [1]. POSIX was recently revised to require this behavior: "The input file may be of any type, but the initial portion of the file intended to be parsed according to the shell grammar (XREF to XSH 2.10.2 Shell Grammar Rules) shall consist of characters and shall not contain the NUL character. The shell shall not enforce any line length limits." "Earlier versions of this standard required that input files to the shell be text files except that line lengths were unlimited. However, that was overly restrictive in relation to the fact that shells can parse a script without a trailing newline, and in relation to a common practice of concatenating a shell script ending with an 'exit' or 'exec $command' with a binary data payload to form a single-file self-extracting archive." [2] [3] One example use case of such scripts, is the Cosmopolitan C Library [4] which configuse the GNU Linker to output a polyglot shell+binary format that runs on Linux / Mac / Windows / FreeBSD / OpenBSD. [1] https://github.com/freebsd/freebsd-src/commit/9a1cd363318b7e9e70ef6af27d1675b371c16b1a [2] http://austingroupbugs.net/view.php?id=1250 [3] http://austingroupbugs.net/view.php?id=1226#c4394 [4] https://justine.lol/cosmopolitan/index.html
* 47830: Fix some documentation typosLawrence Velázquez2021-02-163-8/+12
|
* unposted (Daniel): add exclusion list missed in recent OpenBSD update to ↵Oliver Kiddle2021-02-132-1/+4
| | | | locale completion
* github #68: support section suffix completion for man pagestaiyu2021-02-134-11/+31
| | | | | Support prepend and suffix values for insert-sections Add values for insert-sections for zstyle completion
* 47905: Add leading '-' to zparseopts option parsing errorsJoshua Krusell2021-02-133-8/+14
|
* 47997: Disable XTRACE around user-defined completion widgets.Bart Schaefer2021-02-114-0/+17
|
* 47944: update completions for NetBSD 9Oliver Kiddle2021-02-085-6/+19
|
* 47943: update completions for DragonflyBSD 5.8.3Oliver Kiddle2021-02-083-2/+9
|
* 47932: update completions for procps 3.3.16Oliver Kiddle2021-02-075-2/+9
|
* 47931: update completions for OpenBSD base up to 6.8Oliver Kiddle2021-02-076-9/+24
|
* 47930: update completions for FreeBSD base up to 12.2Oliver Kiddle2021-02-074-5/+11
|
* 47929: complete newer possible values for the sort styleOliver Kiddle2021-02-072-1/+8
|
* based on github #62: return proper exit statusoxiedi2021-02-072-2/+7
|
* github #66: Add more commands to _todo.shDCsunset2021-02-072-1/+9
|
* github #63: fix regression caused by 44274, with sort style -o could break ↵oxiedi2021-02-072-1/+4
| | | | _values
* github #72: Fix unix command lldb tab-completionSemnodime2021-02-072-12/+15
| | | | | The --arguments are space (` `) separated, not equal-sign (`=`) separated. lldb --correct c_arg --wrong=w_arg
* gitlab !16: Allow spaces between short options and their parameters in ↵aaaz2021-02-072-10/+16
| | | | | | _transmission This matches the summary listed in the `transmission-remote` man page and the program's actual behavior.
* 47919: use common function for completing BSD login classesOliver Kiddle2021-02-066-11/+40
| | | | also update for options to env on FreeBSD and Dragonfly
* 47918: new util-linux completions for nsenter and unshareOliver Kiddle2021-02-063-0/+73
|
* unposted: Add cindex entries for some subsectionsBart Schaefer2021-02-052-3/+16
|
* 47895: Remove trailing spaces from "print -ac" output lines.Bart Schaefer2021-02-043-4/+7
|
* 47865: More tests for globbing in restricted directoriesBart Schaefer2021-02-042-0/+19
|
* 47889: Update csh aliasing equivalencesBart Schaefer2021-02-042-5/+9
|
* 47899: Improve error message from zparseopts.Joshua Krusell2021-02-033-2/+10
|
* 47883: _awk: support gawk ver.5Jun-ichi Takimoto2021-02-012-2/+6
|
* 47873: Improve completion within dynamic directory namesPeter Stephenson2021-01-274-4/+23
|
* 47744: Fix vi repeats with hooks in use.GammaFunction2021-01-272-0/+7
|
* unposted: Etc/FAQ.yo: Fix a typo in the front matter.Daniel Shahaf2021-01-262-1/+5
|
* github #71: _xrandr: Complete providersPaul Seyfert2021-01-242-3/+12
| | | | | * complete `xrandr --setprovideroutputsource` by calling `xrandr --listproviders`
* users/26406: preserve caller setopts in zargsBart Schaefer2021-01-232-2/+19
|
* 47849: do not skip tests requiring zpty on CygwinJun-ichi Takimoto2021-01-2010-25/+17
|
* 47840: make zpty module work on CygwinPeiyuan Song2021-01-203-1/+17
|
* NEWS: Catch up on new featuresdana2020-12-122-0/+23
|
* 47731 (+unposted): add run-help assistant for btrfsJun-ichi Takimoto2020-12-113-6/+35
| | | | also fix format errors in contrib.yo
* 43946: call run-help for the command given to sudoSamir Benmendil2020-12-112-1/+6
|
* unposted: index compprefuncs and comppostfuncsBart Schaefer2020-12-052-1/+7
|
* unposted: vcs_info-examples: Fix conditionMikael Magnusson2020-12-051-1/+1
|
* 47716: Etc/BUGS: Add Alekxandr's vcs_info patch.Daniel Shahaf2020-12-042-0/+6
|
* 47704: fix scope for "private -p"Bart Schaefer2020-12-022-0/+8
|
* unposted: missed update from users/26150 commitBart Schaefer2020-12-021-0/+4
|
* users/26150: note failure of multios with execBart Schaefer2020-12-011-0/+6
|
* 47547: docs: Specify the exact kind of quoting which is assumed when parsing ↵ivan tkachenko2020-11-162-1/+6
| | | | arithmetic expressions
* 47560: add includes/prototypes for tests in configureJun-ichi Takimoto2020-11-163-0/+35
| | | | On macOS 11.0 it is now an error to use a function without prototype.
* unposted: Fix typo 'my be' for typesetMikael Magnusson2020-11-121-1/+1
|
* users/26107: complete changed files after git diff HEADOliver Kiddle2020-10-292-1/+13
|
* 47494, 47495: Add -n option to strftimeMikael Magnusson2020-10-255-9/+23
|
* 47302: Test for print -v fixMikael Magnusson2020-10-253-0/+13
|
* 47301: Fix print -v metaficationJun-ichi Takimoto2020-10-252-1/+6
|
* Fix a race condition in zf_mkdir -pRoman Perepelitsa2020-10-232-9/+24
| | | | | | If ~/foo does not exist and `zf_mkdir -p zf_mkdir -p` is executed concurrently in multiple shells, it was possible prior to this patch for the command to fail with EEXIST.