1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-06-27 00:11:00 +02:00
Commit graph

142 commits

Author SHA1 Message Date
Bart Schaefer
acb15e3cc9 51403: Tests and documentation for 51402, clean up some other tests. 2023-02-12 11:57:31 -08:00
Bart Schaefer
e807ac1157 51375: Clarify documentation, fix typos, add indexing. 2023-02-12 11:32:11 -08:00
Bart Schaefer
102145b048 51362: Begin documentation for named references. 2023-02-12 11:25:42 -08:00
Daniel Shahaf
bffdbccda6 51354: Fix markup in man page version 2023-02-02 17:57:35 +00:00
Bart Schaefer
159c892b9b 50855: Clarify how commands are hashed, and searched-for by "whence". 2022-10-31 16:50:16 -07:00
Bart Schaefer
b6be798848 50138: Note ERRNO must be set before use. 2022-04-28 23:50:31 -07: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
94563d5ad1 49445: docs: Clean up some subsection references. 2021-11-26 08:38:39 +00:00
Oliver Kiddle
271cfc685b 49534, 49539: separate watch/log functionality out into a module 2021-11-02 21:41:53 +01:00
Bart Schaefer
fa4c88ca25 49456: clean up detection of private params in nested scopes, update doc 2021-10-04 09:02:27 -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
Daniel Shahaf
2da0d8b52f 48767: docs: $SECONDS: Clarify what types may be set 2021-05-03 15:56:58 +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
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
dg1727
6ec97e1d48 45661: docs: Clarify the effect of KSH_ARRAYS on the (I) subscript. 2020-04-12 01:26:40 +00:00
Daniel Shahaf
490478378f unposted: docs: Fix a cross-reference. 2020-01-16 16:32:39 +00:00
Martijn Dekker
bcde790c88 44981: Fix some typos in the documentation. 2019-12-04 21:31:17 +00:00
Bart Schaefer
adef791c82 44495: Mention coproc under $! 2019-07-08 17:55:06 -07:00
Peter Stephenson
fa2879f500 Document REPORTMEMORY is in Kb, not Mb 2018-02-13 09:39:20 +00:00
dana
0ce5ff2a87 41924: (wi) subscript flag interaction 2018-01-19 23:06:47 -08:00
dana
cb04ae40af add millisecond and microsecond options to TIMEFMT variable 2017-12-14 15:36:46 +00:00
Peter Stephenson
174e560a23 41787 (plus minor tweaks): use $FUNCSTACK for function nesting depth.
Initialised from existing configuration value.
2017-10-02 09:44:26 +01:00
Peter Stephenson
6230e82d44 41764 (test tweaked): allow [key]+=value when modifying arrays 2017-09-27 09:41:50 +01:00
Daniel Shahaf
9cab4c3d7f 41755: Followup to last: minor clarification to docs. 2017-09-24 17:21:50 +00:00
Peter Stephenson
85b0dd7133 Updates for ksh array element syntax.
Move detection of key/value pairs down into prefork().

Detect normal array assignment and [key]=val array assignemnt
separately.  Mark key / value pairs with Marker and pass up flag.  Deal
with marked triads specially later on.
2017-09-24 17:33:07 +01:00
Barton E. Schaefer
2c41dc0b2e 41731: reformat and expand doc for 41698.
Also add missing x-seq reference for 41705 in ChangeLog.
2017-09-20 10:03:47 -07:00
Peter Stephenson
c2d4fa50ed unposted: nodref -> noderef 2017-09-15 09:30:09 +01:00
Peter Stephenson
ab7be4238c More [key]=value tweaks
Some rephrasings.

Update typeset -p for associative arrays to use new syntax.
2017-09-14 21:43:37 +01:00
Peter Stephenson
7ca2e97c14 unposted: typo in doc just committed 2017-09-13 20:58:55 +01:00
Peter Stephenson
54b3958440 First go at var=([key]=value) syntax.
Works for both normal and typeset case, also var+=...

Still to do: allow to be mixed with straight array assignment,
improve typeset -p, implement [key]+=value.
2017-09-13 20:54:00 +01:00
Peter Stephenson
2fba415a71 41510: update doc for $ZSH_PATCHLEVEL 2017-08-08 16:12:20 +01:00
Guillaume Maudoux
dae21874d4 39900: Add TERMINFO_DIRS special like TERMINFO.
Although this is a colon-separated array there is no tied array.
2016-11-20 20:24:15 +00:00
Daniel Shahaf
968a59bfd0 39985: Document the [nyae] answers to the spelling correction prompt, $SPROMPT. 2016-11-20 05:34:21 +00:00
Barton E. Schaefer
736eb433ba 39507: TMPSUFFIX for =(...) 2016-09-29 14:55:49 -07:00
Teubel György
fde365ea8b 39167: Make $ENV handling more like POSIX 2016-09-05 21:03:12 +01:00
Peter Stephenson
f497573c80 unposted: fix pareentheses in man for getrusage() 2016-06-16 09:33:49 +01:00
Peter Stephenson
3859aac04e users/21632: Use of REPORTMEMORY variable
If the child's resisdent set size in megabytes exceeds this, print
out the resource (TIMEFMT) string.  Document you need to add memory
usage to this by hand.
2016-06-13 16:06:22 +01:00
Greg Klanderman
440c6beec0 38086: shuffle init code to localize a global, add $ZSH_ARGZERO, refine $ZSH_SCRIPT
(also a couple of ChangeLog typos corrected -- Bart)
2016-03-06 09:53:40 -08:00
Peter Stephenson
1ab316c9b8 37895: $ZSH_SCRIPT is POSIX $0 but always availble 2016-02-07 21:01:08 +00:00
Peter Stephenson
fc00e3a6b7 37294: Add ZSH_EXECUTION_STRING.
This shows the argument to shell option -c.
2015-12-04 09:28:26 +00:00
Peter Stephenson
5d0859a401 unposted: describe separators between values in array assignment 2015-11-19 14:19:40 +00:00
Peter Stephenson
bc543abbf6 37127: document indexing of $signals 2015-11-17 10:43:23 +00:00
Jun-ichi Takimoto
d5ba08af49 unposted: a few cosmetic format fixes in docs 2015-11-13 01:03:38 +09:00
Daniel Shahaf
a4f087b98e unposted: Minor documentation tweaks. 2015-09-05 10:47:53 +00:00
Barton E. Schaefer
f3130bf6e9 35896: index zle_highlight 2015-07-24 17:06:22 -07:00
Oliver Kiddle
98687fa1de 35474, 35492: support the bracketed paste mode of newer terminal emulators 2015-06-19 00:15:38 +02:00
Peter Stephenson
85a4cf9b36 35110: don't implicitly initialize restricted integers to zero 2015-05-14 09:28:57 +01:00
Jun-ichi Takimoto
ffdeb1c257 35075: improve manual format
also fixed a ChangeLog entry for 35034 (2015-05-06)
2015-05-12 00:36:18 +09:00
Jun-ichi Takimoto
36a55e278e 35034: improve manual format up to Chapter18 2015-05-06 10:45:21 +09:00
Han Pingtian
ddf96cf933 34769: incorrect doc of process time calculation 2015-03-25 19:29:59 +00:00