summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-03-0748147/0001: tests: Add a unit test for zmathfunc and a regression test for ↵Daniel Shahaf2-0/+28
workers/48146 affecting it.
2021-02-2448105: Update ctags completion with format fixJacob Gelbman2-193/+191
2021-02-2348096: New ctags completionJacob Gelbman2-0/+209
2021-02-2248094: apply cleanup commands of the current theme on any theme changeArseny Maslennikov3-19/+42
* Rename zstyle `cleanup' on the context `:prompt-theme' to `restore' everywhere but in prompt_cleanup(). It is only used as a restore mechanism now. * Ensure prompt_cleanup() continues to store its command list in the `cleanup' style. * Clean up before theme switch at the end of set_prompt(). * Prepend every use of prompt_*_setup (which might modify the shell state in ways that require cleanup) with a cleanup run. * Adjust `prompt restore' to do both parts of the newly split restore mechanism, cleanup first.
2021-02-1947867: Fix RPROMPT typo in prompinitArseny Maslennikov2-2/+7
2021-02-18users/26509: fix for r -LPeter Stephenson2-2/+8
fc with the -L option should ignore remote entires, rather than reading them and treating them as an error.
2021-02-1748073: Add fc -s as POSIX way of rerunning command without starting editorMartijn Dekker3-3/+9
2021-02-16Allow more scripts without #!Justine Tunney2-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
2021-02-1647830: Fix some documentation typosLawrence Velázquez3-8/+12
2021-02-13unposted (Daniel): add exclusion list missed in recent OpenBSD update to ↵Oliver Kiddle2-1/+4
locale completion
2021-02-13github #68: support section suffix completion for man pagestaiyu4-11/+31
Support prepend and suffix values for insert-sections Add values for insert-sections for zstyle completion
2021-02-1347905: Add leading '-' to zparseopts option parsing errorsJoshua Krusell3-8/+14
2021-02-1147997: Disable XTRACE around user-defined completion widgets.Bart Schaefer4-0/+17
2021-02-0847944: update completions for NetBSD 9Oliver Kiddle5-6/+19
2021-02-0847943: update completions for DragonflyBSD 5.8.3Oliver Kiddle3-2/+9
2021-02-0747932: update completions for procps 3.3.16Oliver Kiddle5-2/+9
2021-02-0747931: update completions for OpenBSD base up to 6.8Oliver Kiddle6-9/+24
2021-02-0747930: update completions for FreeBSD base up to 12.2Oliver Kiddle4-5/+11
2021-02-0747929: complete newer possible values for the sort styleOliver Kiddle2-1/+8
2021-02-07based on github #62: return proper exit statusoxiedi2-2/+7
2021-02-07github #66: Add more commands to _todo.shDCsunset2-1/+9
2021-02-07github #63: fix regression caused by 44274, with sort style -o could break ↵oxiedi2-1/+4
_values
2021-02-07github #72: Fix unix command lldb tab-completionSemnodime2-12/+15
The --arguments are space (` `) separated, not equal-sign (`=`) separated. lldb --correct c_arg --wrong=w_arg
2021-02-07gitlab !16: Allow spaces between short options and their parameters in ↵aaaz2-10/+16
_transmission This matches the summary listed in the `transmission-remote` man page and the program's actual behavior.
2021-02-0647919: use common function for completing BSD login classesOliver Kiddle6-11/+40
also update for options to env on FreeBSD and Dragonfly
2021-02-0647918: new util-linux completions for nsenter and unshareOliver Kiddle3-0/+73
2021-02-05unposted: Add cindex entries for some subsectionsBart Schaefer2-3/+16
2021-02-0447895: Remove trailing spaces from "print -ac" output lines.Bart Schaefer3-4/+7
2021-02-0447865: More tests for globbing in restricted directoriesBart Schaefer2-0/+19
2021-02-0447889: Update csh aliasing equivalencesBart Schaefer2-5/+9
2021-02-0347899: Improve error message from zparseopts.Joshua Krusell3-2/+10
2021-02-0147883: _awk: support gawk ver.5Jun-ichi Takimoto2-2/+6
2021-01-2747873: Improve completion within dynamic directory namesPeter Stephenson4-4/+23
2021-01-2747744: Fix vi repeats with hooks in use.GammaFunction2-0/+7
2021-01-26unposted: Etc/FAQ.yo: Fix a typo in the front matter.Daniel Shahaf2-1/+5
2021-01-24github #71: _xrandr: Complete providersPaul Seyfert2-3/+12
* complete `xrandr --setprovideroutputsource` by calling `xrandr --listproviders`
2021-01-23users/26406: preserve caller setopts in zargsBart Schaefer2-2/+19
2021-01-2047849: do not skip tests requiring zpty on CygwinJun-ichi Takimoto10-25/+17
2021-01-2047840: make zpty module work on CygwinPeiyuan Song3-1/+17
2020-12-12NEWS: Catch up on new featuresdana2-0/+23
2020-12-1147731 (+unposted): add run-help assistant for btrfsJun-ichi Takimoto3-6/+35
also fix format errors in contrib.yo
2020-12-1143946: call run-help for the command given to sudoSamir Benmendil2-1/+6
2020-12-05unposted: index compprefuncs and comppostfuncsBart Schaefer2-1/+7
2020-12-05unposted: vcs_info-examples: Fix conditionMikael Magnusson1-1/+1
2020-12-0447716: Etc/BUGS: Add Alekxandr's vcs_info patch.Daniel Shahaf2-0/+6
2020-12-0247704: fix scope for "private -p"Bart Schaefer2-0/+8
2020-12-02unposted: missed update from users/26150 commitBart Schaefer1-0/+4
2020-12-01users/26150: note failure of multios with execBart Schaefer1-0/+6
2020-11-1647547: docs: Specify the exact kind of quoting which is assumed when parsing ↵ivan tkachenko2-1/+6
arithmetic expressions
2020-11-1647560: add includes/prototypes for tests in configureJun-ichi Takimoto3-0/+35
On macOS 11.0 it is now an error to use a function without prototype.