Bart Schaefer
6b5ee0c17c
users/28243: update "typeset +" documentation
2022-10-23 16:25:04 -07:00
Julian Prein
6e827d8f9a
50648: Use $ZCALC_HISTORY where appropriate
2022-09-25 18:05:49 +01:00
Bart Schaefer
61f35bb626
50355: documentation and return status consistency in zsh/system module
2022-06-11 15:02:46 -07:00
Peter Stephenson
b26b6b3fe0
Tweaks to MULTI_FUNC_DEF
...
Output multiple function definitions using "function" form.
Note exceptions to errors with NO_MULTI_FUNC_DEF
2022-06-07 10:02:14 +01:00
Axel Beckert
361de369ed
50220: Documentation: Fix typos found by Debian's Lintian tool
2022-05-15 00:41:38 +02:00
Bart Schaefer
251772f8d1
unposted: cross-reference "typeset -f" for "functions -[Tt]"
2022-05-07 16:45:09 -07:00
Bart Schaefer
fc1ae21fda
unposted: Add details about ${(*)...} expansion
2022-04-30 12:29:52 -07:00
Bart Schaefer
b6be798848
50138: Note ERRNO must be set before use.
2022-04-28 23:50:31 -07:00
Matthew Martin
73265d41e3
49960: Sort lists in zshcompsys
2022-04-06 20:01:48 -05:00
elig0n
6152200c9b
github #88 : Fix typo
2022-03-31 19:23:08 -05:00
Matthew Martin
95749e9e65
49933: Add nonblock to sysopen
2022-03-31 17:40:41 -05:00
Peter Stephenson
41eb200d66
27639: clarify that ${(#)...} deals with character codes.
2022-03-31 13:57:56 +01:00
Peter Stephenson
98e4634086
49906 (Bart), 49911: Fixes to querying jobs in subshell.
...
Don't attempt to query invalid job off end of table, resulting in
crashes from $jobtstates.
If background task started in subshell, look at tatsks within subshell
instead of main shell. Document and add test.
2022-03-30 09:28:43 +01:00
Mikael Magnusson
d7b8619396
49813: <<<: Document newline behavior and fix optimization
...
The =(<<<foo) optimization forgot to add a newline, but =(cat<<<foo)
always did, make the behavior consistent, and document it.
2022-03-30 08:07:39 +02:00
Bart Schaefer
53d6b47d92
49917: change sense of "Ignore insecure ..." answer and use "autoload -r"
2022-03-29 13:18:49 -07:00
Peter Stephenson
587793f818
49845: man page clarification on option scope
2022-03-24 10:35:29 +00:00
Bart Schaefer
87d276346f
49844: Fix node reference errors from 49446 and 49448.
2022-03-13 21:07:14 -07:00
Peter Stephenson
24474bd34a
users/27536: Improved history list documentation
...
Clarify interaction of matching and numbers.
2022-03-01 10:47:49 +00:00
Daniel Shahaf
45182eb4d4
unposted: Fix some typos and markup.
2022-02-22 13:11:02 +00:00
Peter Stephenson
865baf7a25
49672: document "tied" in output from ${(t)...}
2022-02-22 10:00:14 +00:00
Mikael Magnusson
0684c6a762
49769: Mention how to show nanosecond precision
2022-02-22 10:44:49 +01:00
Daniel Shahaf
80389df480
49727 (+ comment): vcs_info quilt: Pass the patches dir path to the gen-applied-string, gen-unapplied-string, and set-patch-format hooks
...
I use that in my gen-applied-string hook.
2022-02-20 10:16:33 +00:00
Mikael Magnusson
8bf0f0cf45
49694 + doc: Allow using empty STTY= to freeze tty for a single command
...
Previously, doing this would just run stty with no arguments, which
normally causes it to print some terminal settings to stdout.
2022-01-30 18:14:54 +01:00
Daniel Shahaf
441f594c9f
unposted: vcs_info quilt docs: Fix misspelled style name
2022-01-27 17:34:57 +00:00
Oliver Kiddle
91b7baf259
49646: allow colors in WATCHFMT with %F/%K
2021-12-13 21:06:57 +01:00
Daniel Shahaf
9cc6f8d8c9
unposted: Add whitespace and comments. No functional change.
2021-12-01 03:34:15 +00:00
Daniel Shahaf
b2632cd21b
49621: Fix the info Doc build, broken in 49448.
2021-12-01 03:32:03 +00:00
Daniel Shahaf
1168c6c3ea
49448: docs: Fix pointers to the Widgets',
User-defined Widgets', and `Standard Widgets' sections.
...
The latter two didn't have their own texinode()s. Various places, both
those sections' subsections and elsewhere in the manual, linked to the
first section rather than to the third. For instance, zshcontrib(1)
pointed to "noderef(Miscellaneous) in noderef(Zle Widgets)", even though
the former (currently §18.6.6) is not under the latter (currently §18.4).
Add texinode()s and fix those pointers.
2021-11-26 08:39:08 +00:00
Daniel Shahaf
e8d49addc0
49447: docs: _wanted: Clarify the example and point to another one.
2021-11-26 08:39:03 +00:00
Daniel Shahaf
ff1f7769ee
49446: docs: Add texinode()s, so the next commit can link directly to a subsection.
2021-11-26 08:38:56 +00:00
Daniel Shahaf
94563d5ad1
49445: docs: Clean up some subsection references.
2021-11-26 08:38:39 +00:00
Oliver Kiddle
16d5d6a9da
49597: add a helper for completing numbers with unit suffixes and separate out defaults, ranges and units in completion descriptions
2021-11-24 23:09:38 +01:00
Arseny Maslennikov
12dc20832d
49575: clarify _alternative's action syntax
2021-11-19 21:46:11 +01:00
Oliver Kiddle
2fe9ab2813
49566: document the _default function
2021-11-12 20:44:48 +01:00
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