1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-29 06:51:03 +02:00
Commit graph

1791 commits

Author SHA1 Message Date
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