Oliver Kiddle
8ea5977222
49564: always use descriptions included in the file-patterns style and allow the recursive-files style to also work in those cases
2021-11-12 20:41:04 +01:00
Oliver Kiddle
9bdaf0197f
49562: remove old documentation for other-files tag that was removed in 36165
2021-11-12 20:36:51 +01:00
Oliver Kiddle
dfb7ac94bb
49561: add zformat -F option, similar to -f but ternary expressions check for existence instead of doing math evaluation
2021-11-12 20:33:52 +01:00
Oliver Kiddle
271cfc685b
49534, 49539: separate watch/log functionality out into a module
2021-11-02 21:41:53 +01:00
Oliver Kiddle
632fee7cdf
49528: allow multiple -D options to compadd
2021-10-30 23:35:04 +02:00
Marlon Richert
f2b6650b43
49521: Define correct behavior of || completion matchers
...
* Add xfail tests to show how :||= matchers should behave in order to
provide completion features that cannot be implemented with :|=
matchers.
* Update compwid.yo to further describe the correct behavior.
* Update compwid.yo to use completion terminology more consistently.
2021-10-26 18:44:40 +02:00
Bart Schaefer
fa4c88ca25
49456: clean up detection of private params in nested scopes, update doc
2021-10-04 09:02:27 -07:00
ivan tkachenko
99d915330a
49440: Make double-flag parameter expansion syntax more discoverable in docs
2021-09-29 00:09:25 +02:00
ivan tkachenko
02f75cf386
49435: Remove trailing whitespaces in expn.yo
2021-09-29 00:02:49 +02:00
Daniel Shahaf
ca94d3acda
unposted: Fix typos
2021-09-26 09:00:32 +00:00
Bart Schaefer
68c0fa68e2
49391: Document default bracketed-paste bindings
2021-09-08 16:06:37 -07:00
Stephane Chazelas
bb61da36aa
45180: clarify doc for POSIX EREs, fix an issue with PCRE when the replacement was empty or generated more than one element
2021-09-06 14:43:01 -07:00
zerkous
a6139bb0a9
49154: clarify status on exec failure
2021-09-06 14:28:54 -07:00
Bart Schaefer
a31fd3077d
48888: improve doc for $$ and $PPID, add fail test for PPID readonly-ness
2021-09-06 12:46:28 -07:00
Peter Stephenson
0a80579ed1
49307 with doc update: POSIX_TRAPS fix.
...
With POSIX_TRAPS set, an ignored signal stays ignored when entering
a subshell.
2021-08-26 09:46:39 +01:00
Daniel Shahaf
1449f81183
users/26734: docs: read: Notate the parameter name argument as optional.
2021-08-14 14:07:08 +00:00
Peter Stephenson
2912139261
48096: Update Sourceforge links to https://zsh.sourceforge.io/
2021-06-22 11:29:55 +01:00
Bart Schaefer
667901b6ba
49065: remove bad cross-reference
2021-06-13 12:06:31 -07:00
Daniel Shahaf
4202c0bbe3
48601/0004: docs: return: Give examples of using arithmetic evaluation.
2021-05-18 02:01:13 +00:00
Daniel Shahaf
b992d91059
48601/0003: docs: functions -M: Add a subheading and index entries.
2021-05-18 02:01:13 +00:00
Daniel Shahaf
f571aff1b2
48601/0002: docs: functions -M: Document the return status / result interdependency gotchas (cf. 48147).
2021-05-18 02:01:13 +00:00
Daniel Shahaf
6913eb6776
48601/0001: docs: functions -M: Move an example to be near the specification of the relevant flag
2021-05-18 02:01:13 +00:00
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
Manuel Jacob
ae0129b49f
46091: Add code to Mercurial VCS backend to show topic if there is any.
...
"Topics" is an experimental concept in Mercurial that augments the
current branching concept (called "named branches").
For more information, see the not always up-to-date Mercurial Wiki page
https://www.mercurial-scm.org/wiki/TopicPlan .
2020-06-22 08:18:38 +00:00
Miroslav Koškár
33361e81bc
46049: docs: Correct the sense of the single-letter abstract of the GLOBAL_RCS option (-d)
2020-06-17 08:13:51 +00:00
Daniel Shahaf
c5f12fb732
unposted: zstyle docs: Fix typo.
...
This manifested as a trailing non-underlined ".RE" in the rendered man page.
(I guess that was a man page directive, but I'm not sure how the extraneous
closing parenthesis caused it to be rendered in the output.)
2020-06-10 13:07:56 +00:00
Peter Stephenson
3df604a4be
46026: Add CLOBBER_EMPTY option.
2020-06-09 18:07:01 +01:00
Bart Schaefer
086acd095d
unposted: remove blank line that messed up "man" formatting
2020-05-17 13:31:51 -07:00
Daniel Shahaf
7c2a740d0f
users/24843: zshcompsys(1): Point to the 'format' style from the 'tag-order' style.
2020-05-16 22:08:57 +00:00
Daniel Shahaf
deca7c9285
45730: _arguments: Add the -0 flag, which makes $opt_args be populated sanely.
...
Also, write/extend docstrings for sepjoin() and zjoin().
2020-05-03 01:27:36 +00:00
Daniel Shahaf
34d69acbef
45737 (+ docs, and update the test from 45722): zstyle: When determining the weight (specificity) of a pattern, consider the number of components before anything else, as documented.
2020-05-02 01:12:07 +00:00
Daniel Shahaf
7f73edad7a
45739: docs: Clarifications about zstyle patterns.
...
- Consistently use the term "pattern" rather than "context" or "style pattern"
- Correct statements about order of precedence of patterns
- Give the rationale for the "rule of thumb"
2020-05-02 00:51:26 +00:00
Daniel Shahaf
5d9f7975a9
45722: docs: Change zstyle example to a non-hierarchical one
2020-05-02 00:51:26 +00:00
Benjamin Esham
ff50d96b19
github #56 : typo: Add a single quote that had been missing
2020-04-27 08:04:26 +00:00
dana
1cac862b0f
unposted: zsh/system: Adjust documentation from workers/45708
2020-04-20 12:12:12 -05:00
Cedric Ware
25c9b61a66
45708: zsh/system: Enable sub-second timeout in zsystem flock
2020-04-20 12:10:01 -05:00
dana
f179dbf72a
45702: compsys: Improve documentation of {insert,separate}-sections
2020-04-20 00:06:55 -05:00
Peter Stephenson
28277a84dd
45684: Document - glob qualifier in error cases
2020-04-15 21:33:48 +01:00
dg1727
6ec97e1d48
45661: docs: Clarify the effect of KSH_ARRAYS on the (I) subscript.
2020-04-12 01:26:40 +00:00
Mikael Magnusson
8923d2a618
Add SHORT_REPEAT option
2020-04-02 07:42:16 +02:00
Daniel Shahaf
386d9ac8ff
45583/0008: Add the 'function -T' syntax.
...
Config/version.mk was bumped in the previous commit.
2020-03-22 02:23:53 +00:00
Daniel Shahaf
68d2a1bc22
unposted: ${(Z)}: Convert documentation to a description block.
2020-03-20 02:28:11 +00:00
Daniel Shahaf
e1946bacf8
45540: vcs_info git: In non-interactive rebases, compute patch names for unapplied patches.
2020-03-15 00:18:28 +00:00
Daniel Shahaf
0a7bfc0bd2
45307: zstyle docs: Unoverload a placeholder variable name.
...
Use 'pattern' to refer to things matched against contexts and 'metapattern'
to refer to things matched against patterns.
2020-01-16 18:18:17 +00:00
Daniel Shahaf
6f263b5e89
45306: zstyle docs: Introduce the first synopsis in the same way as all others: with an item()().
2020-01-16 18:18:14 +00:00
Daniel Shahaf
490478378f
unposted: docs: Fix a cross-reference.
2020-01-16 16:32:39 +00:00
Daniel Shahaf
c7bc62aa06
45287: zshexpn: Describe parameter elision and add some introductory prose
2020-01-15 22:35:09 +00:00
Daniel Shahaf
610b4b3028
users/24656: docs: Add an example of setting and querying zstyles
2020-01-14 17:42:36 +00:00
Peter Stephenson
8406a0d38e
users/24659: Cross-ref doc for matchers.
2020-01-14 14:00:03 +00:00
Peter Stephenson
2ce5f6d79a
users/24628 (fixed): More doc for selectw-word-style widgets.
...
Add example of how to add a new binding for a widget that fixes
a particular word behaviour using styles.
2020-01-11 14:07:19 +00:00
Daniel Shahaf
99acc17bb6
unposted: Fix punctuation.
2020-01-10 12:46:32 +00:00