Marlon Richert
7383baf4cf
48853: improved handling of theme resets when changing prompt themes, especially for theme preview
2021-05-16 21:18:06 -07:00
Bart Schaefer
acd20254b5
48710: histed + other zed updates
2021-05-15 13:37:35 -07:00
Bart Schaefer
231c049c02
48707: fix keymap handling when zed invokes read-from-minibuffer; update doc
2021-05-15 13:23:31 -07:00
dana
093ba11970
unposted: docs: Update http:// FAQ links to https://
...
See 48613
2021-05-03 18:26:19 -05:00
dana
d4b78f6c54
48551: docs: Add disclaimer about POSIX compliance and emulation of other shells
2021-05-03 18:22:02 -05:00
dana
c23a0d84b0
48614: getopts: Calculate OPTIND according to POSIX_BUILTINS
2021-05-03 18:11:38 -05:00
Daniel Shahaf
2da0d8b52f
48767: docs: $SECONDS: Clarify what types may be set
2021-05-03 15:56:58 +00:00
Daniel Shahaf
b110d6d5af
48435 (tweaked): vcs_info docs: applied-string/unapplied-string: Correct an omission in the documentation and add an example.
...
The example code is a reduced version of my function from workers/47519,
with one bug fixed. (In workers/47519, if $1 doesn't contain spacesĀ -
which is the case under hg mq - then $H and $s will be set to the same
value.)
Tweaked: Extended the contrib.yo hunk with details about mq.
2021-04-20 23:38:04 +00:00
Bart Schaefer
82ff9f24f1
48560: add TYPESET_TO_UNSET option to remove initialization of parameters
...
Changes typeset such that ${newparam-notset} yields "notset" and
"typeset -p newparam" does not show an assignment to the parameter. This
is similar to the default behavior of bash and ksh, with minor differences
in typeset output.
Also add tests for some POSIX incompatibilities plus minor changes for test
harness robustness.
2021-04-18 13:58:09 -07:00
Daniel Shahaf
e1f5172a48
45583/0008: vcs_info git: Use best practices in an example
...
The alias was vulnerable to SHORT_LOOPS syntax, not invokable from
scripts, etc..
2021-04-15 16:27:53 +00:00
Daniel Shahaf
2144d01102
45583/0007: vcs_info docs: vcs_info_lastmsg: Correct an ambiguous/wrong description.
2021-04-15 16:27:53 +00:00
Daniel Shahaf
517e1777a5
45583/0006: vcs_info docs: Change user-context name in an example, to avoid confusion with the special-casing of the value `command' in vcs_info_lastmsg.
2021-04-15 16:27:53 +00:00
Daniel Shahaf
ebcb20a9c0
45583/0005: vcs_info docs: Recommend use of prompt expandos rather than terminal escape sequences.
2021-04-15 16:27:53 +00:00
Daniel Shahaf
cc833e01fe
45583/0004: docs: Document that hook functions may rely on $? (see workers/48570).
2021-04-15 16:27:53 +00:00
Daniel Shahaf
9b5f80285d
45583/0003: docs: Fix rendering in the man page output
...
In the man page output, the text was underlined from the var()
to the end of the paragraph.
The texi output in affected. For instance, the text `name' in TeX
is now slanted Roman (\slshape\rmfamily) rather than slanted teletype
(\slshape\ttfamily).
2021-04-15 16:27:52 +00:00
Daniel Shahaf
d07c945e74
45583/0002 (tweaked): docs: Fix rendering of an example in the man page output
...
The texi output was unaffected. However, in the man page on my system,
everything after the example() was underlined and not indented.
2021-04-15 16:27:52 +00:00
Daniel Shahaf
32336eab92
45583/0001: docs: Minor markup tweak
2021-04-15 16:27:52 +00:00
Bart Schaefer
408a830483
47913: implement CASE_PATHS option to make NO_CASE_GLOB more sensible
2021-04-10 14:26:46 -07:00
Daniel Shahaf
e4a8740c78
48410: FAQ, METAFAQ: Mention zsh-security@.
2021-04-08 02:31:58 +00:00
Oliver Kiddle
714864a87b
48356: clarify (the intended) behaviour for the two anchor forms of matching control
2021-04-03 00:58:18 +02:00
Daniel Shahaf
3d2814072a
unposted: docs: _arguments: Fix a typo in the example.
2021-03-29 13:33:45 +00:00
dana
78cf455871
unposted: Improve documentation and add regression test for workers/47745
2021-03-23 00:26:21 -05: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
Lawrence VelƔzquez
83cc7c6bf0
47830: Fix some documentation typos
2021-02-16 00:59:14 +00: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
Bart Schaefer
b8ec0ddba5
unposted: Add cindex entries for some subsections
2021-02-05 13:50:58 -08: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
Bart Schaefer
5a9e632638
unposted: index compprefuncs and comppostfuncs
2020-12-05 13:29:25 -08:00
ivan tkachenko
038f537a2a
47547: docs: Specify the exact kind of quoting which is assumed when parsing arithmetic expressions
2020-11-16 18:07:53 +00:00
Mikael Magnusson
d3a6dee9cd
unposted: Fix typo 'my be' for typeset
2020-11-12 01:15:38 +01:00
Mikael Magnusson
8773f01f2b
47494, 47495: Add -n option to strftime
2020-10-25 23:06:02 +01:00
Axel Beckert
da534770fd
47468: Doc/Zsh/contrib.yo: Fix typo
2020-10-18 01:35:13 +02:00
Daniel Shahaf
00d20ed15e
users/26088: docs: zle -R: Clarify that it needs not be called in the normal course of things, but only when an immediate, interim redisplay is desired.
2020-10-03 05:32:35 +00:00
Bart Schaefer
63b6398b70
47364: Enable extendedglob in pattern with ${(*)name/pattern/replacement}
...
Mikael Magnusson: 47382: Completion for 47364
2020-09-13 16:19:52 -07:00
Oliver Kiddle
5668cace4a
47328: remove references to old zsh.org mail addresses
2020-08-21 17:43:12 +02:00
Mikael Magnusson
841188439b
47306: edit-command-line: add editor style
2020-08-16 18:04:43 +02:00
Daniel Shahaf
cdafe31e05
47313: docs: Document explicitly that the :P modifier returns a symlink-less path.
2020-08-16 13:17:10 +00:00
Daniel Shahaf
e2be2d061a
unposted: Update documentation for the move to new hosting.
2020-08-08 06:12:17 +00:00
Daniel Shahaf
fa51a38955
46240: Make the expansion of manref()() in ztexi.yo match its expansion in zman.yo.
...
The difference was mostly harmless in the common case "(see manref(foo)(42))",
which expanded to "(see man page foo(42))" under ztexi.yo, but in other
contexts the ztexi.yo expansion was was nonsensical; for example:
"the BSD manref(echo)(1) command"
"the string returned by the manref(getlogin)(3) system call"
"advisory file locking (via the manref(fcntl)(2) system call)"
"this is the exact opposite from manref(ls)(1),"
While there, copyedit some uses of manref()().
2020-07-13 14:05:37 +00:00
Daniel Shahaf
7dfc4f754e
users/24985: Clarify documentation of the ${(n)} and ${(-)} parameter expansion flags, and add a forward compatibility hatch to the latter.
2020-07-12 11:39:34 +00:00
Nuri Jung
89618fe37d
github #58 : docs: Note that the zsh/regex syntax is platform-dependent.
2020-07-07 13:27:03 +00:00
Pete Moore
4ab0d047c7
46194: docs: metafaq: Remove spurious closing bracket
2020-07-06 23:41:35 +00:00
Daniel Shahaf
b53f465481
unposted (cf. users/24972, users/24978): Use an ASCII hyphen/minus rather than a dash.
2020-07-03 22:17:59 +00:00
Peter Stephenson
4e0058afc5
users/24971: ${(-)var} sorts on signed integers
2020-07-03 21:05:46 +01:00
Daniel Shahaf
f636cde7b5
46132: docs: Use an itemized list in the documentation of the *(o) glob qualifier.
...
This should be easier to read, both as a tutorial and as a reference.
2020-06-28 13:01:20 +00:00
Daniel Shahaf
0cffb0a6b3
46072 + 46136: Add the 'zle $widget -f nolast' syntax, to improve add-zle-hook-widget support for multiple hook functions.
...
See workers/46004 for the use-case.
2020-06-27 03:09:31 +00:00
Daniel Shahaf
9575f2f1bf
users/24959/0002: Update aliases documentation for the addition of the ALIAS_FUNC_DEF option.
2020-06-27 00:53:02 +00:00
Daniel Shahaf
7f58463dd3
users/24959/0001: Extend documentation of global aliases.
2020-06-27 00:53:02 +00:00
Daniel Shahaf
4e3d08fea8
unposted: docs: Fix some markup and typos.
2020-06-26 18:25:51 +00:00
Daniel Shahaf
dd6e702ee4
46068 (tweaked) (was: github #57 ): region_highlight: Add memo= support.
...
This is useful when multiple plugins add region_highlight entries and
subsequently want to remove only their own entries. Without this
functionality, recognizing one's region_highlight entries is not trivial
because the 'start' and 'end' offsets are modified by editing of $BUFFER
and the highlight specification may not be unique or distinctive.
The tweaks are as follows:
- Change zfree() to zsfree() per workers/46070.
- Remove the mem.c hunk, as it changed the signature of only one out of
two alternative definitions of zsfree(). (The definition that hunk
touched is the one that's not used by default.)
2020-06-25 11:50:33 +00:00