1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-25 17:41:19 +02:00
Commit graph

124 commits

Author SHA1 Message Date
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
Peter Stephenson
e85906ebc9 users/19985: improve doc of subscripting substrings further 2015-03-10 12:20:47 +00:00
Peter Stephenson
00b3085b96 34657: document the effect of substring subscripting better 2015-03-06 09:50:01 +00:00
Barton E. Schaefer
4edcacbcf3 users/19934: document %D{...} for WATCHFMT 2015-02-28 13:45:51 -08:00
Peter Stephenson
638bccb1c5 users/19850: add pattern support to watch variable 2015-02-11 12:52:22 +00:00
Peter Stephenson
79378d4acd users/19800: more help for $HISTORY_IGNORE 2015-02-03 17:13:26 +00:00
Peter Stephenson
d067ebcacd 33876: etc.: Separate errors and keyboards interrupts
Combination of 12 commits from interrupt_abort branch.

Basic strategy is to introduce bits to errflag and to set and
reset them separately.

Remove interrupt status on return to main keymap.

Turn off ERRFLAG_INT for always block.

Restore bit thereafter: we probably need a new variable in order
to allow user interrupts to be reset in the always block.

Add TRY_BLOCK_INTERRUPT

This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too.

Ensure propagation of SIGINT from exited job.

If received by foreground job, shell uses ERRFLAG_INT, not
ERRFLAG_ERROR, to set the new state.

Reset errflag before precmd()

Add always block in _main_completion to fix ZLS_COLORS

Ensures we get the right state of $ZLS_COLORS at the end of _main_complete
even if there's an interrupt.  However, the "right state" is a bit messy
as it depends on styles.
2014-12-11 09:41:17 +00:00
Barton E. Schaefer
231cbbc5b1 33841: explain array append a bit better 2014-12-04 02:18:36 -08:00
Barton E. Schaefer
84a772396e Unposted: minor change: "scalar or integer" to "scalar" to include floats. 2014-12-04 02:18:35 -08:00
Barton E. Schaefer
8080ca3a87 33805: rewrite zshparams intro, tweak formatting
I noticed that there was no explanation of the terms "variable" or
"environment" anywhere.
2014-11-27 13:43:15 -08:00
Mikael Magnusson
7eb949a6bb Fix some typos in the documentation 2014-10-03 04:54:48 +02:00
Peter Stephenson
f6b322979b Attempt to improve doc for assignment 2014-07-08 09:38:48 +01:00
Barton E. Schaefer
19f3161e51 32634: add POSIX_ARGZERO option 2014-06-01 15:01:37 -07:00
Tomoki Sekiyama
0da28f323d 32592: add CORRECT_IGNORE_FILE variable 2014-04-29 10:44:09 +01:00
Peter Stephenson
141f569c0f 32521: document that LOGNAME comes from getlogin() 2014-04-06 16:54:29 +01:00
Barton E. Schaefer
76ab661df3 unposted: document interactions of "fc -R" etc. with "fc -l" and $HISTCMD 2014-02-17 09:57:05 -08:00
Barton E. Schaefer
9cacf4411f 32157: fix extra line feed after prompt, and erased character in completion listing, when ZLE_RPROMPT_INDENT=0 2013-12-18 23:45:20 -08:00
Patrick Oscity
977f9ff5c8 32114: ZLE_PROMPT_INDENT allows you to move rprompt flush right 2013-12-16 21:35:21 +00:00
Barton E. Schaefer
ada42926b1 31849: document effect of KSH_ZERO_SUBSCRIPT on the argv special array 2013-10-19 14:29:52 -07:00