1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-28 15:01:21 +02:00
Commit Graph

1684 Commits

Author SHA1 Message Date
Stephane Chazelas
5ac1c6f555 42790: make [[:blank:]] match non-ASCII blanks 2018-05-17 23:42:27 +02:00
Peter Stephenson
557d1d7259 42399: document echo and behaviour of - and -- 2018-02-26 19:58:01 +00: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
Barton E. Schaefer
254d8ed8cb unposted: Follow-up to previous: Clarify that ${histchars[1]} may be backslash-escaped even when it isn't '!'. 2018-01-13 18:55:34 +00:00
Daniel Shahaf
ba752d2eb5 42261: docs: Expand documentation of $histchars[1]. Joint with Matthew Martin. 2018-01-13 17:52:59 +00:00
Jun-ichi Takimoto
d303dfa7f5 42175 + 42177 + 42178: avoid localized output from external commands
_call_program and '_arguments --' will call _comp_locale before
calling external command for easier analysis of the output.
This is disabled by passing an option '-l'.
2017-12-28 11:35:34 +09:00
Peter Stephenson
5f6a52c06c 42156: new CHECK_RUNNING_JOBS option demanded by bash groupies
Also new job options.

Also suppress debug error if rows or columns are reported as zero as
this is normal without a physical terminal.
2017-12-22 20:21:23 +00:00
dana
cb04ae40af add millisecond and microsecond options to TIMEFMT variable 2017-12-14 15:36:46 +00:00
Daniel Shahaf
77a39b57bf 42031 + 42048: Make [[ -o invalidoption ]] a normal(ish) false value, rather than a syntax error. 2017-11-24 22:10:27 +00:00
Chris Bracken
2c00d2132c github #19: Fix minor typo in INC_APPEND_HISTORY documentation 2017-11-13 21:06:35 +01:00
Martijn Dekker
b432d518e4 42004: fix parentheses in documentation 2017-11-11 12:42:51 +00:00
Daniel Shahaf
660df206c1 41939: docs: Move aliases corner case to the dangerous bends section. (after 41482) 2017-10-30 13:30:08 +00:00
Daniel Shahaf
3b0c8bdac8 unposted: Document "typeset -p"'s optional argument in the inline synopsis. 2017-10-17 17:59:06 +00:00
Peter Stephenson
ff3e47e9f4 41842: aliasing documentation update 2017-10-10 09:59:31 +01:00
Daniel Shahaf
e49aabc13a unposted: zsh/stat docs: Rephrase to avoid ambiguity due to the ambiguous relative precedence of the 'other than' and 'and' operators. 2017-10-07 01:11:23 +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
728f2adfc8 Add typeset -p1, like typeset -p with newlines 2017-10-01 17:53:56 +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
91484e0d42 41679: slight clarification on exec of builtins 2017-09-13 10:47:16 +01:00
Peter Stephenson
e8780e11ed unposted: YODL compatibility fix for --emulate 2017-09-13 10:45:00 +01:00
Peter Stephenson
2ef3dff65a 41668: New --emulate option on invocation.
This sets the shell emulation mode similarly to ARGV0=... which
doesn't work from other shells.

Note that this gives more comprehensive emulation than running
emulate within the shell.
2017-09-11 10:12:17 +01:00
Peter Stephenson
97d4bdbc7e 41590 modified as 41595: make ERR_RETURN more logical.
It now operates separately at each function depth.

To keep ERR_EXIT global, make the noerrexit variable usd bit flags.

Extend tests.
2017-08-24 19:46:20 +01:00
Peter Stephenson
a9b579a9d3 Revert "41499 (with one further tweak): POSIX_STRINGS behaviour."
This reverts commit 2eacbef91913fe967335812900d43cf2edfa54d9.

Conflicts:
	ChangeLog
2017-08-08 19:04:49 +01:00
Peter Stephenson
2fba415a71 41510: update doc for $ZSH_PATCHLEVEL 2017-08-08 16:12:20 +01:00
Peter Stephenson
2eacbef919 41499 (with one further tweak): POSIX_STRINGS behaviour.
Ignore a terminating delimiter when splitting as separators
despite being called separators are terminators.
2017-08-07 18:47:43 +01:00
Anthony Heading
462dd51fb0 41500: document "-" to end zparseopts options 2017-08-07 10:15:02 +01:00
Peter Stephenson
27efa0efd4 41470: Another note on new effect of POSIX_BUILTINS
exec now won't find precommand modifiers after it with the
option set.  This may need further attention.
2017-08-01 09:37:26 +01:00
Barton E. Schaefer
43e55a9bcd 41472: introduce cleanup hooks default and restore special themes, and update documentation 2017-07-29 16:58:39 -07:00
Daniel Shahaf
f183ed66c8 41467: Correct completion of 'tmux new <TAB>'.
Reference: window_pane_spawn() in tmux 2.5.

Also, document _cmdstring and _precommand.
2017-07-28 15:49:14 +00:00
Peter Stephenson
d4b94b5e83 41464, 41466: With POSIX_BUILTINS, exec only executes sexternal commands.
Document the default behaviour and add a test.
2017-07-27 09:22:04 +01:00
Jim
aaa0c90d40 41461: complete list of zsh manual pages in manual introcution 2017-07-26 09:39:08 +01:00
Peter Stephenson
1d0f2a5e7b Further clarification about processing of expansions 2017-07-20 18:59:01 +01:00
Peter Stephenson
d2b98fba46 41429: Try to improve description of how stages of expansion fit together. 2017-07-17 09:23:00 +01:00
Peter Stephenson
a955065cda Delay processing "disown" for superjob.
This is a job forked from the current shell when a job partly
running from the current shell was suspended.  When all associated
processes started from the main shell are finished the job is
continued and at this point the disown can complete.
2017-07-04 09:40:45 +01:00
Stephane Chazelas
4d007e269d 41275: Leave stdin open when executing widgets 2017-06-13 21:34:55 -04:00
Peter Stephenson
d5c22d356b 41244: Add zmodload -s option.
Doesn't complain if module is unavailable, but prints more
obscure errors.

Use existing low-level silent flag by passing through
intermediate module loading hierarchy.
2017-06-12 10:10:23 +01:00
Barton E. Schaefer
11304f7318 unposted: clarify ZLS_COLORS pattern matching contexts 2017-05-28 11:32:10 -07:00
Jörg Sommer
f667cfcc68 41128: typo in compsys documentation 2017-05-22 10:10:07 +01:00
Peter Stephenson
14b5fae69e users/22707: Document extra use of accept-exact-dirs
It allows completion after magically appearing directories that
dont't show up in the parent directory by supressing searching
of the parent directory if the subdirectory is directly found
to exist.
2017-05-19 11:16:10 +01:00
Daniel Shahaf
ce7a98fc05 users/22653: options.yo: Clarify REMATCH_PCRE semantics.
Presently, if the option is set but the module is unavailable, using '=~' sets
errflag.
2017-04-05 13:15:37 +00:00
Barton E. Schaefer
eaeebeb8bb unposted: minor formatting: var() instead of tt(). 2017-04-01 15:23:43 -07:00
Peter Stephenson
5a895a5260 40906: Add note on use of (k) parameter subst flag.
KSH_ARRAYS generlly requires [*] or [@] to operate on the whole
array and this is true here.
2017-03-27 11:57:50 +01:00