Daniel Shahaf
a5a093d5fe
48131/0001: FAQ: 3.31: Add a one-sentence summary
2021-03-26 23:20:19 +00:00
dana
78cf455871
unposted: Improve documentation and add regression test for workers/47745
2021-03-23 00:26:21 -05:00
Stephane Chazelas
d96c898101
47745: Fix [:IDENT:] vs posixidentifiers
...
wcsitype(c, IIDENT) should return false for non-ASCII characters
when the POSIX_IDENTIFIERS option is on, not the other way round.
2021-03-23 00:15:09 -05:00
Marlon Richert
f4a248f9d3
48180: Start menu selection with select=long-list in menu style
2021-03-17 12:50:57 -05:00
Daniel Shahaf
f87b73e677
48147/0002: zmathfunc: Fix bug where the exit code would be non-zero if the expression evaluted to zero.
2021-03-07 21:58:13 +00:00
Daniel Shahaf
6a2a8acf09
48147/0001: tests: Add a unit test for zmathfunc and a regression test for workers/48146 affecting it.
2021-03-07 21:58:12 +00:00
Jacob Gelbman
5ede2c55f1
48105: Update ctags completion with format fix
2021-02-24 09:24:37 +00:00
Jacob Gelbman
055ce78401
48096: New ctags completion
2021-02-23 10:10:34 +00:00
Arseny Maslennikov
8b67c36d92
48094: apply cleanup commands of the current theme on any theme change
...
* 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-22 20:29:55 -08:00
Arseny Maslennikov
5c60ec46ec
47867: Fix RPROMPT typo in prompinit
2021-02-19 18:39:22 -06:00
Peter Stephenson
6bef719302
users/26509: fix for r -L
...
fc with the -L option should ignore remote entires, rather than
reading them and treating them as an error.
2021-02-18 21:37:08 +00:00
Martijn Dekker
9c0533931c
48073: Add fc -s as POSIX way of rerunning command without starting editor
2021-02-17 10:21:08 +00:00
Justine Tunney
326d9c203b
Allow more scripts without #!
...
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] 9a1cd36331
[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-16 09:16:20 +00:00
Lawrence Velázquez
83cc7c6bf0
47830: Fix some documentation typos
2021-02-16 00:59:14 +00:00
Oliver Kiddle
d909dc7323
unposted (Daniel): add exclusion list missed in recent OpenBSD update to locale completion
2021-02-13 01:15:10 +01:00
taiyu
3714ee0b58
github #68 : support section suffix completion for man pages
...
Support prepend and suffix values for insert-sections
Add values for insert-sections for zstyle completion
2021-02-13 01:01:40 +01:00
Joshua Krusell
3d6e5b6231
47905: Add leading '-' to zparseopts option parsing errors
2021-02-13 00:54:59 +01:00
Bart Schaefer
2cf6032a30
47997: Disable XTRACE around user-defined completion widgets.
2021-02-11 19:13:47 -08:00
Oliver Kiddle
073092f89d
47944: update completions for NetBSD 9
2021-02-08 00:40:10 +01:00
Oliver Kiddle
25d69da85c
47943: update completions for DragonflyBSD 5.8.3
2021-02-08 00:06:57 +01:00
Oliver Kiddle
2edac834a8
47932: update completions for procps 3.3.16
2021-02-07 02:54:21 +01:00
Oliver Kiddle
b17449352e
47931: update completions for OpenBSD base up to 6.8
2021-02-07 02:37:45 +01:00
Oliver Kiddle
509e84ef44
47930: update completions for FreeBSD base up to 12.2
2021-02-07 02:13:10 +01:00
Oliver Kiddle
ceb25d9495
47929: complete newer possible values for the sort style
2021-02-07 01:52:40 +01:00
oxiedi
2b2353fc8f
based on github #62 : return proper exit status
2021-02-07 01:27:23 +01:00
DCsunset
f59b6f6df3
github #66 : Add more commands to _todo.sh
2021-02-07 01:02:10 +01:00
oxiedi
df7fd1322c
github #63 : fix regression caused by 44274, with sort style -o could break _values
2021-02-07 00:51:41 +01:00
Semnodime
ed160f268a
github #72 : Fix unix command lldb tab-completion
...
The --arguments are space (` `) separated, not equal-sign (`=`) separated.
lldb --correct c_arg --wrong=w_arg
2021-02-07 00:25:24 +01:00
aaaz
645c89af6d
gitlab !16 : Allow spaces between short options and their parameters in _transmission
...
This matches the summary listed in the `transmission-remote` man page and the program's actual behavior.
2021-02-07 00:10:41 +01:00
Oliver Kiddle
4bea58d0c4
47919: use common function for completing BSD login classes
...
also update for options to env on FreeBSD and Dragonfly
2021-02-06 00:23:20 +01:00
Oliver Kiddle
ba48357315
47918: new util-linux completions for nsenter and unshare
2021-02-06 00:05:48 +01:00
Bart Schaefer
b8ec0ddba5
unposted: Add cindex entries for some subsections
2021-02-05 13:50:58 -08:00
Bart Schaefer
465738fc25
47895: Remove trailing spaces from "print -ac" output lines.
2021-02-04 17:52:22 -08:00
Bart Schaefer
b803fbaa14
47865: More tests for globbing in restricted directories
2021-02-04 17:03:46 -08:00
Bart Schaefer
6db45b94d8
47889: Update csh aliasing equivalences
2021-02-04 17:01:07 -08:00
Joshua Krusell
9120d1e841
47899: Improve error message from zparseopts.
2021-02-03 11:33:47 +00:00
Jun-ichi Takimoto
93c4cc0d8f
47883: _awk: support gawk ver.5
2021-02-01 09:40:34 +09:00
Peter Stephenson
8f42ecd8ee
47873: Improve completion within dynamic directory names
2021-01-27 11:16:55 +00:00
GammaFunction
5d14b6eb71
47744: Fix vi repeats with hooks in use.
2021-01-27 10:04:40 +00:00
Daniel Shahaf
e15dce8ced
unposted: Etc/FAQ.yo: Fix a typo in the front matter.
2021-01-26 20:51:19 +00:00
Paul Seyfert
07765d5901
github #71 : _xrandr: Complete providers
...
* complete `xrandr --setprovideroutputsource` by calling `xrandr
--listproviders`
2021-01-24 13:32:05 -06:00
Bart Schaefer
b374f7b318
users/26406: preserve caller setopts in zargs
2021-01-23 13:25:24 -08:00
Jun-ichi Takimoto
6e20f0e3d1
47849: do not skip tests requiring zpty on Cygwin
2021-01-20 13:49:42 +09:00
Peiyuan Song
bf8ca5f019
47840: make zpty module work on Cygwin
2021-01-20 13:33:52 +09:00
dana
ce0660b7ba
NEWS: Catch up on new features
2020-12-12 21:45:19 -06:00
Jun-ichi Takimoto
34eae73490
47731 (+unposted): add run-help assistant for btrfs
...
also fix format errors in contrib.yo
2020-12-11 17:27:47 +09:00
Samir Benmendil
f493b438fd
43946: call run-help for the command given to sudo
2020-12-11 17:20:45 +09:00
Bart Schaefer
5a9e632638
unposted: index compprefuncs and comppostfuncs
2020-12-05 13:29:25 -08:00
Mikael Magnusson
42b5371d70
unposted: vcs_info-examples: Fix condition
2020-12-05 19:25:57 +01:00
Daniel Shahaf
74f4cbfcb6
47716: Etc/BUGS: Add Alekxandr's vcs_info patch.
2020-12-04 15:54:16 +00:00