Commit Graph

1955 Commits (master)

Author SHA1 Message Date
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
3 years ago
Bart Schaefer b8ec0ddba5 unposted: Add cindex entries for some subsections 3 years ago
Jun-ichi Takimoto 34eae73490 47731 (+unposted): add run-help assistant for btrfs
also fix format errors in contrib.yo
3 years ago
Bart Schaefer 5a9e632638 unposted: index compprefuncs and comppostfuncs 4 years ago
ivan tkachenko 038f537a2a 47547: docs: Specify the exact kind of quoting which is assumed when parsing arithmetic expressions 4 years ago
Mikael Magnusson d3a6dee9cd unposted: Fix typo 'my be' for typeset 4 years ago
Mikael Magnusson 8773f01f2b 47494, 47495: Add -n option to strftime 4 years ago
Axel Beckert da534770fd 47468: Doc/Zsh/contrib.yo: Fix typo 4 years ago
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. 4 years ago
Bart Schaefer 63b6398b70 47364: Enable extendedglob in pattern with ${(*)name/pattern/replacement}
Mikael Magnusson: 47382: Completion for 47364
4 years ago
Oliver Kiddle 5668cace4a 47328: remove references to old zsh.org mail addresses 4 years ago
Mikael Magnusson 841188439b 47306: edit-command-line: add editor style 4 years ago
Daniel Shahaf cdafe31e05 47313: docs: Document explicitly that the :P modifier returns a symlink-less path. 4 years ago
Daniel Shahaf e2be2d061a unposted: Update documentation for the move to new hosting. 4 years ago
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()().
4 years ago
Daniel Shahaf 7dfc4f754e users/24985: Clarify documentation of the ${(n)} and ${(-)} parameter expansion flags, and add a forward compatibility hatch to the latter. 4 years ago
Nuri Jung 89618fe37d github #58: docs: Note that the zsh/regex syntax is platform-dependent. 4 years ago
Pete Moore 4ab0d047c7 46194: docs: metafaq: Remove spurious closing bracket 4 years ago
Daniel Shahaf b53f465481 unposted (cf. users/24972, users/24978): Use an ASCII hyphen/minus rather than a dash. 4 years ago
Peter Stephenson 4e0058afc5 users/24971: ${(-)var} sorts on signed integers 4 years ago
Daniel Shahaf f636cde7b5 46132: docs: Use an itemized list in the documentation of the *(o) glob qualifier.
This should be easier to read, both as a tutorial and as a reference.
4 years ago
Daniel Shahaf 0cffb0a6b3 46072 + 46136: Add the 'zle $widget -f nolast' syntax, to improve add-zle-hook-widget support for multiple hook functions.
See workers/46004 for the use-case.
4 years ago
Daniel Shahaf 9575f2f1bf users/24959/0002: Update aliases documentation for the addition of the ALIAS_FUNC_DEF option. 4 years ago
Daniel Shahaf 7f58463dd3 users/24959/0001: Extend documentation of global aliases. 4 years ago
Daniel Shahaf 4e3d08fea8 unposted: docs: Fix some markup and typos. 4 years ago
Daniel Shahaf dd6e702ee4 46068 (tweaked) (was: github #57): region_highlight: Add memo= support.
This is useful when multiple plugins add region_highlight entries and
subsequently want to remove only their own entries.  Without this
functionality, recognizing one's region_highlight entries is not trivial
because the 'start' and 'end' offsets are modified by editing of $BUFFER
and the highlight specification may not be unique or distinctive.

The tweaks are as follows:

- Change zfree() to zsfree() per workers/46070.

- Remove the mem.c hunk, as it changed the signature of only one out of
  two alternative definitions of zsfree().  (The definition that hunk
  touched is the one that's not used by default.)
4 years ago
Manuel Jacob ae0129b49f 46091: Add code to Mercurial VCS backend to show topic if there is any.
"Topics" is an experimental concept in Mercurial that augments the
current branching concept (called "named branches").

For more information, see the not always up-to-date Mercurial Wiki page
https://www.mercurial-scm.org/wiki/TopicPlan.
4 years ago
Miroslav Koškár 33361e81bc 46049: docs: Correct the sense of the single-letter abstract of the GLOBAL_RCS option (-d) 4 years ago
Daniel Shahaf c5f12fb732 unposted: zstyle docs: Fix typo.
This manifested as a trailing non-underlined ".RE" in the rendered man page.
(I guess that was a man page directive, but I'm not sure how the extraneous
closing parenthesis caused it to be rendered in the output.)
4 years ago
Peter Stephenson 3df604a4be 46026: Add CLOBBER_EMPTY option. 4 years ago
Bart Schaefer 086acd095d unposted: remove blank line that messed up "man" formatting 4 years ago
Daniel Shahaf 7c2a740d0f users/24843: zshcompsys(1): Point to the 'format' style from the 'tag-order' style. 4 years ago
Daniel Shahaf deca7c9285 45730: _arguments: Add the -0 flag, which makes $opt_args be populated sanely.
Also, write/extend docstrings for sepjoin() and zjoin().
4 years ago
Daniel Shahaf 34d69acbef 45737 (+ docs, and update the test from 45722): zstyle: When determining the weight (specificity) of a pattern, consider the number of components before anything else, as documented. 4 years ago
Daniel Shahaf 7f73edad7a 45739: docs: Clarifications about zstyle patterns.
- Consistently use the term "pattern" rather than "context" or "style pattern"
- Correct statements about order of precedence of patterns
- Give the rationale for the "rule of thumb"
4 years ago
Daniel Shahaf 5d9f7975a9 45722: docs: Change zstyle example to a non-hierarchical one 4 years ago
Benjamin Esham ff50d96b19 github #56: typo: Add a single quote that had been missing 4 years ago
dana 1cac862b0f unposted: zsh/system: Adjust documentation from workers/45708 4 years ago
Cedric Ware 25c9b61a66 45708: zsh/system: Enable sub-second timeout in zsystem flock 4 years ago
dana f179dbf72a 45702: compsys: Improve documentation of {insert,separate}-sections 4 years ago
Peter Stephenson 28277a84dd 45684: Document - glob qualifier in error cases 4 years ago
dg1727 6ec97e1d48 45661: docs: Clarify the effect of KSH_ARRAYS on the (I) subscript. 4 years ago
Mikael Magnusson 8923d2a618 Add SHORT_REPEAT option 4 years ago
Daniel Shahaf 386d9ac8ff 45583/0008: Add the 'function -T' syntax.
Config/version.mk was bumped in the previous commit.
4 years ago
Daniel Shahaf 68d2a1bc22 unposted: ${(Z)}: Convert documentation to a description block. 4 years ago
Daniel Shahaf e1946bacf8 45540: vcs_info git: In non-interactive rebases, compute patch names for unapplied patches. 4 years ago
Daniel Shahaf 0a7bfc0bd2 45307: zstyle docs: Unoverload a placeholder variable name.
Use 'pattern' to refer to things matched against contexts and 'metapattern'
to refer to things matched against patterns.
4 years ago
Daniel Shahaf 6f263b5e89 45306: zstyle docs: Introduce the first synopsis in the same way as all others: with an item()(). 4 years ago
Daniel Shahaf 490478378f unposted: docs: Fix a cross-reference. 4 years ago
Daniel Shahaf c7bc62aa06 45287: zshexpn: Describe parameter elision and add some introductory prose 4 years ago
Daniel Shahaf 610b4b3028 users/24656: docs: Add an example of setting and querying zstyles 4 years ago
Peter Stephenson 8406a0d38e users/24659: Cross-ref doc for matchers. 4 years ago
Peter Stephenson 2ce5f6d79a users/24628 (fixed): More doc for selectw-word-style widgets.
Add example of how to add a new binding for a widget that fixes
a particular word behaviour using styles.
4 years ago
Daniel Shahaf 99acc17bb6 unposted: Fix punctuation. 4 years ago
dana 2e521d7b63 45184: Clarify documentation of %-sequences understood by compadd -[Xx] 4 years ago
Daniel Shahaf 759daf2362 unposted (after 45183): Fix yodl error: "contrib.yo:4457: No macro: back(...)". 4 years ago
Stephane Chazelas da19b67388 45183: Improve documentation examples 4 years ago
Daniel Shahaf f3d18c3fb5 45160: zshexpn: Expand documentation of (S) 4 years ago
Sebastian Gniazdowski 408e75b903 45150 + 45152: zshexpn: Use a more minimal example in the documentation of (#b). 4 years ago
Daniel Shahaf f7f2baac5e 45110: zshmisc(1): Fix markup of "try-list" and "always-list". 4 years ago
Daniel Shahaf a0c0aa41d2 45111: zshmisc(1): Clarify the documentation of 'return' and 'exit' in conjunction with try/always
Having reviewed 20076, 20084, 21734, and 21735, my understanding is that
the original intention was:

- A 'return' in a function does run always-list
- An 'exit' outside a function does not run always-list
- A 'return' outside a function is treated as an 'exit'

All of which are the case today.  The remaining case, of 'exit' used
inside a function, was not specified by the referenced -workers@ posts;
does, as implemented, run the always-list; and furthermore, based in
21734 it's fair to assume that the original documentation was assuming
that 'exit' would be used outside of any function, just like it assumed
'return' would be used inside a function.

Therefore, have the documentation specify only the behaviour of 'exit'
outside any function, and leave the behaviour of 'exit' inside
a function unspecified.  Anyone who relied on the documentation of 'exit'
as documented until this commit would have run into the
documentation/implementation discrepancy described in 45075.
4 years ago
Daniel Shahaf 105ca83aa2 45112: zshmodules: Explicitly document the return values of the 'zstyle' getters -s, -b, and -a. 4 years ago
Daniel Shahaf 6e5bba8cba 45113: vcs_info docs: Clarify documentation of the %p/%u/%a patch-format expandos. 4 years ago
dana 6fd4023825 45055: Clarify _files documentation 4 years ago
Daniel Shahaf 48ebe82b48 45073: regex-replace docs: Simplify grammar (avoid a double negative, state defaults first). 4 years ago
Oliver Kiddle 0655e17644 45035: be explicit about the need for a # in colours specified as hex triplets 4 years ago
Peter Stephenson cb4dc95643 45009: POSIX_CD needs to suppress some forms of option.
Otherwise forms of argument allowed by POSIX are interpreted as
options instead.
4 years ago
Martijn Dekker bcde790c88 44981: Fix some typos in the documentation. 5 years ago
Daniel Shahaf 5b4a6dc7e0 44964: zshmisc(1): Document APPEND_CREATE under the append redirection operators, >> and >>!. 5 years ago
Daniel Shahaf 369e4a4057 unposted: _values: Use the formal parameter's name in the docstring. 5 years ago
Ned Batchelder 63cc5279b3 github #37: Make it easier to understand what "fc -e" does. 5 years ago
Peter Stephenson 4fae525726 Copy functions using functions -c old new.
Documentation and test.
5 years ago
Bart Schaefer adef791c82 44495: Mention coproc under $! 5 years ago
Peter Stephenson 3bdf4d6641 44480: Don't automatically close externally visible file descroptors.
These are descriptors marked FDT_EXTERNAL.

Make all sysopen'ed file descriptors FDT_EXTERNAL.

Make =(...) call closem() consistent with other substitutions.

Document file descriptors are left open.
5 years ago
Peter Stephenson b8dc5a7f6d 44435: Handling digita arguments for :h and :t.
Pick number of leading or trailing path components to substitute.
Active in history, brace parameters, glob qualifiers.

Add tests for all three environments.
5 years ago
Stephane Chazelas 0b1725dcfc 44387, edited: describe some problems with restricted mode 5 years ago
Jim 06f5964284 44364: refer to zsh base manual page in zsh all 5 years ago
dana c1a33575b4 44275: Fix compset -p/-s multibyte inconsistency and documentation 5 years ago
Oliver Kiddle cd6fd2b0a3 44274: allow finer control of completion match soring with compadd's -o option 5 years ago
dana 78fb8aaccf 44198: Add cd_silent option to suppress all cd output 5 years ago
Roman Perepelitsa c551937280 44215: Maintain LASTWIDGET across reset-prompt.
This avoids side effects of asynchronous notifications.
5 years ago
Matthew Martin 6f35d6c0d0 44202 (tweaked): _normal: Add -P to reset precommands 5 years ago
Matthew Martin 5facfd3280 44200 (tweaked): Completion: Append to precommands in _normal 5 years ago
Clinton Bunch ea8d3ab3e4 44156 (tweaked): zsh/system: Add note about potential flock side-effects
(Minor adjustments to wording and formatting)
5 years ago
Matthew Martin 5267bdc4ef 44153: rm: Accept -R as equivalent to -r 5 years ago
Peter Stephenson 876dccfe73 Update doc from previous commit.
Make it clear it's commands whose names begin with a /
that aren't hashed.  Obviously commands whose paths
begin with a / are OK, duh.
5 years ago
Charles Blake 084bf17c4b 44132: don't hash commands beginning with / 5 years ago
Matthew Martin 6331772c5b 44135: Add chmod builtin 5 years ago
dana 632023acc2 44100: zparseopts: Add -F option, completion, tests; improve documentation
* Enable zparseopts to perform basic usage validation (aborting on an
  unrecognised option-like parameter)

* Officially document the resolution of ambiguous option specs
5 years ago
Mikael Magnusson d683d278c7 44011: Only use fg_start_code for non-truecolor
The sequence for truecolor uses a different prefix from palette colors
5 years ago
Peter Stephenson 88ad890c05 users/23829: add and coument file-split-chars style 5 years ago
Martijn Dekker 2d056ebc31 43945 (tweaked to remove test failure, noted in test):
Fix exit statuses from wait for POSIX_BUILTINS mode.
Also add tests.
5 years ago
Martijn Dekker 4215fcb107 43944: apply NO_UNSET consistently to arithmeitc 5 years ago
Joey Pabalinas 552ebe6082 43904 (plus tweak): zshmisc(1): document term being optional if `in word' is omitted
In code such as:

> hobbes% () { for arg do print -r $arg; done; } 1 2 3
> 1
> 2
> 3

the implicit positional parameters added when the `in word ...'
list is omitted also implicitly append the separator term, making
the above code valid, albeit seemingly violating the syntax listed
in the documentation.

This is related to the various forms of alternative syntax and is
the intended behavior of the parsing code, so correct the minor
contradiction in the for loop documentation.
5 years ago
Peter Stephenson 7292c063e8 43620: More care documenting command substitution including $(<...) 6 years ago
dana 5ad76492af 43800: Add nanosecond support to strftime built-in 6 years ago
Peter Stephenson 6529d52506 43788: clarify zpty -w -n with no string argument 6 years ago
Oliver Kiddle c8ce1fe4c1 43760: add documentation for true colour changes and nearcolor module 6 years ago
Peter Stephenson 079f7f9d48 43694: More detail on multios.
Mention how opening files in multios differs from cat.
6 years ago
Daniel Shahaf 76a16498d5 43692: Generate man pages in the build dir, rather than the source dir.
The following files are still generated in the source dir (in
out-of-tree builds):

    Doc/Zsh/manmodmenu.yo
    Doc/Zsh/modlist.yo
    Doc/Zsh/modmenu.yo
    Doc/version.yo
    Doc/zsh.idx
    Doc/zsh.texi
    META-FAQ
6 years ago
dana a8f90de4ff 43672: Document result of redirecting from a non-existent file 6 years ago
dana 995a56cf01 43602: Clarify behaviour of `compdef -p` 6 years ago
Daniel Shahaf e38f15f8ff 43620 (tweaked): vcs_info git: Reverse the order patches are passed to gen-unapplied-string in.
This is an incompatible change; see README for details.

Tweaks (relative to posted version): tweaked README, removed scalpel (debug print).
6 years ago
Peter Stephenson c4144bc95b unposted: doc tweak for helpfiles 6 years ago
Peter Stephenson f99f7dca75 43616: Various parameter setting and display fixes.
Mostly to do with typeset -p and tied variables and their interaction.

Some general tied variable fixes.
6 years ago
Daniel Shahaf 6a5c38626b unposted: Fix typo 6 years ago
Daniel Shahaf 15d613a14f 43563: zshzle: Clarify sentence in introduction. 6 years ago
Daniel Shahaf 3f2bcceec8 43528: zshbuiltins(1): Document 'which''s "not found is not an error" behaviour. 6 years ago
dana a435ab530f unposted: Fix trivial formatting error in docs 6 years ago
Daniel Shahaf b2ddd97175 43404 (after 43392): Fix 'make install' in out-of-tree builds 6 years ago
Daniel Shahaf 85ae84e895 43392: dist: Generate doc/help/* and doc/help.txt in builddir rather than srcdir.
Fixes creating tarballs in out-of-tree builds.

While here, remove the instruction to build zsh before building
a tarball, since that's unneeded.
6 years ago
Daniel Shahaf 6fcb32b300 unposted: docs: Fix duplicated words in _combination. 6 years ago
Peter Stephenson 3c93497eb7 43294: Add ZLE_RECURSIVE parameter. 6 years ago
dana b21a641d4c 43275: Add log2 to match func 6 years ago
Peter Stephenson 14fe9799ff Remove ftp_sites.yo from Makefile.in 6 years ago
Matthew Martin 72e3b566b4 Update distro docs to remove dead links 6 years ago
Peter Stephenson eef34baab0 43176: Add note on compatibility to start of manual.
Default mode is not POSIX.
6 years ago
Tim Smith 9f203c1159 43172: document escaping colon in zformat -a 6 years ago
Peter Stephenson 0a6cb5078d 43084: Variable warning suppression enhancements.
Add vared -g option along the lines of typeset -g.

Set reply safely in zsh_directory_name_cdr.
6 years ago
dana 394f3a47e4 43075: Support nanosecond-precision time formatting
* Teach ztrftime() %9. and %N for nanoseconds
* Update prompt expansion to pass sub-second times for time formatting
* Update zsh/stat to pass sub-second times for atime/mtime/ctime

Patch heavily based on Oliver's earlier work @ workers/24059
6 years ago
Peter Stephenson 9408c4825b users/23472: Add $sysparams[procsubstpid] to zsh/system 6 years ago
Stephane Chazelas 5ac1c6f555 42790: make [[:blank:]] match non-ASCII blanks 6 years ago
Peter Stephenson 557d1d7259 42399: document echo and behaviour of - and -- 6 years ago
Peter Stephenson fa2879f500 Document REPORTMEMORY is in Kb, not Mb 6 years ago
dana 0ce5ff2a87 41924: (wi) subscript flag interaction 6 years ago
Barton E. Schaefer 254d8ed8cb unposted: Follow-up to previous: Clarify that ${histchars[1]} may be backslash-escaped even when it isn't '!'. 6 years ago
Daniel Shahaf ba752d2eb5 42261: docs: Expand documentation of $histchars[1]. Joint with Matthew Martin. 6 years ago
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'.
6 years ago
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.
6 years ago
dana cb04ae40af add millisecond and microsecond options to TIMEFMT variable 7 years ago
Daniel Shahaf 77a39b57bf 42031 + 42048: Make [[ -o invalidoption ]] a normal(ish) false value, rather than a syntax error. 7 years ago
Chris Bracken 2c00d2132c github #19: Fix minor typo in INC_APPEND_HISTORY documentation 7 years ago
Martijn Dekker b432d518e4 42004: fix parentheses in documentation 7 years ago
Daniel Shahaf 660df206c1 41939: docs: Move aliases corner case to the dangerous bends section. (after 41482) 7 years ago
Daniel Shahaf 3b0c8bdac8 unposted: Document "typeset -p"'s optional argument in the inline synopsis. 7 years ago
Peter Stephenson ff3e47e9f4 41842: aliasing documentation update 7 years ago
Daniel Shahaf e49aabc13a unposted: zsh/stat docs: Rephrase to avoid ambiguity due to the ambiguous relative precedence of the 'other than' and 'and' operators. 7 years ago
Peter Stephenson 174e560a23 41787 (plus minor tweaks): use $FUNCSTACK for function nesting depth.
Initialised from existing configuration value.
7 years ago
Peter Stephenson 728f2adfc8 Add typeset -p1, like typeset -p with newlines 7 years ago
Peter Stephenson 6230e82d44 41764 (test tweaked): allow [key]+=value when modifying arrays 7 years ago
Daniel Shahaf 9cab4c3d7f 41755: Followup to last: minor clarification to docs. 7 years ago
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.
7 years ago
Barton E. Schaefer 2c41dc0b2e 41731: reformat and expand doc for 41698.
Also add missing x-seq reference for 41705 in ChangeLog.
7 years ago
Peter Stephenson c2d4fa50ed unposted: nodref -> noderef 7 years ago
Peter Stephenson ab7be4238c More [key]=value tweaks
Some rephrasings.

Update typeset -p for associative arrays to use new syntax.
7 years ago
Peter Stephenson 7ca2e97c14 unposted: typo in doc just committed 7 years ago
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.
7 years ago
Peter Stephenson 91484e0d42 41679: slight clarification on exec of builtins 7 years ago
Peter Stephenson e8780e11ed unposted: YODL compatibility fix for --emulate 7 years ago
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.
7 years ago
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.
7 years ago
Peter Stephenson a9b579a9d3 Revert "41499 (with one further tweak): POSIX_STRINGS behaviour."
This reverts commit 2eacbef919.

Conflicts:
	ChangeLog
7 years ago
Peter Stephenson 2fba415a71 41510: update doc for $ZSH_PATCHLEVEL 7 years ago
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.
7 years ago
Anthony Heading 462dd51fb0 41500: document "-" to end zparseopts options 7 years ago
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.
7 years ago
Barton E. Schaefer 43e55a9bcd 41472: introduce cleanup hooks default and restore special themes, and update documentation 7 years ago
Daniel Shahaf f183ed66c8 41467: Correct completion of 'tmux new <TAB>'.
Reference: window_pane_spawn() in tmux 2.5.

Also, document _cmdstring and _precommand.
7 years ago
Peter Stephenson d4b94b5e83 41464, 41466: With POSIX_BUILTINS, exec only executes sexternal commands.
Document the default behaviour and add a test.
7 years ago
Jim aaa0c90d40 41461: complete list of zsh manual pages in manual introcution 7 years ago
Peter Stephenson 1d0f2a5e7b Further clarification about processing of expansions 7 years ago
Peter Stephenson d2b98fba46 41429: Try to improve description of how stages of expansion fit together. 7 years ago
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.
7 years ago
Stephane Chazelas 4d007e269d 41275: Leave stdin open when executing widgets 7 years ago
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.
7 years ago
Barton E. Schaefer 11304f7318 unposted: clarify ZLS_COLORS pattern matching contexts 7 years ago
Jörg Sommer f667cfcc68 41128: typo in compsys documentation 7 years ago
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.
7 years ago
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.
7 years ago
Barton E. Schaefer eaeebeb8bb unposted: minor formatting: var() instead of tt(). 7 years ago
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.
7 years ago
Peter Stephenson 20d464944b 40875: Update REC_EXACT description, suggested by Martin Krafft 7 years ago
Daniel Shahaf b627c251a4 unposted (after 40859): Fix yodl warning:
makeinfo ./zsh.texi
    ./zsh.texi:36246: Next field of node `vcs_info Examples' not pointed to (perhaps incorrect sectioning?).
    ./zsh.texi:36419: This node (Prompt Themes) has the bad Prev.

Seen with yodl 3.00.00 but not with 3.04.00.
7 years ago
Daniel Shahaf 10220628e7 40859: vcs_info docs: Use proper internal links through texinfo nodes.
Changes:

- Add texinode()'s
- Replace 'see foo' with 'see noderef(foo)'

Drive-by changes:

- Fix one reference to a nonexistent "Styles" section
- (minor) Fix whitespace around "once"
7 years ago
Daniel Shahaf f3ae40f8aa unposted: vcs_info quilt: Fix documentation markup typo. 7 years ago
Daniel Shahaf 56ef4f62c4 40822: vcs_info quilt: Document the '.quilt-foo' zstyle context element. (Compare users/20807.) 7 years ago
Daniel Shahaf d044530afd 40816: Document interaction of 'print -P' and 'print -f'. 7 years ago
Daniel Shahaf a5482971b7 40744: Document the SHORT_LOOPS 'function' syntax.
It's already mentioned in passing in zshoptions(1).
7 years ago
Sebastian Gniazdowski 23275fc8db 40726: add "zcurses resize" for sane terminal size change 7 years ago
Peter Stephenson 67c5d83df3 40702: new KEYS_QUEUED_COUNT ZLE variable 7 years ago
Peter Stephenson 47c05f6b66 40622 with typos fixed: functions -Ms.
This adds the capability for mathematical functions based on shell
functions to have a string argument.  Module functions have had
this for a long time.
7 years ago
Daniel Shahaf bf292bde14 40641: docs: patterns: Add '|' to the overview. Clarify that it short-circuits. 7 years ago
Barton E. Schaefer 4b8db48c6b 40640: the (A) parameter flag forces array result even if assignment syntax is not used 7 years ago
Barton E. Schaefer db44b17150 unposted (cf. 40617): clarify description of ${(A)name=value} and ${(AA)name=value} 7 years ago
Øystein Walle e329a8d62d 40568: REMATCH_PCRE is not enabled by default, fix doc. 7 years ago
Sebastian Gniazdowski e9ce001749 40558, 40562: General improvements to zsh/db/gdbm module 7 years ago
Peter Stephenson d8c66e65a2 40537: Document previous change to autoload 7 years ago
Daniel Shahaf ecd88284f3 40492: vcs_info: Escape '%' signs in payloads.
Test case: a patch whose subject is '%Sfoo%sbar'.  ('S' and 's' are
expandos both in prompts and in the 'formats' style.)
7 years ago
Daniel Shahaf bb6c08b51a unposted: vcs_info git: Fix typo in manual. 7 years ago
Daniel Shahaf 49bc46946e 40476: vcs_info $backend_misc: Document at the right point, provide in quilt 'standalone' mode. 7 years ago
Peter Stephenson 34f70c5dc0 40440: Add $functions_source hash to zsh/parameter.
This allows you to find out where a function was loaded from.
7 years ago
Daniel Shahaf b0784025b1 40396: vcs_info quilt: More documentation of '%Q' and 'use-quilt'. 7 years ago
Peter Stephenson c861b17bbf 40391: Add WARN_NESTED_VAR option and functions -W.
These are companions to WARN_CREATED_GLOBAL, warning when a variable
from an enclosing scope is altered.
7 years ago
Oliver Kiddle b6082cd1e2 40321: _arguments option groups 7 years ago
Peter Stephenson f26d1ba6b0 Add features associated with autoloading a function using an absolute
path.

-d defaults to normal fpath

-r remembers the path without actually loading.  May be combined with -d.

-R does the same but it's an error if not found

-X can now take a directory path: this is used to output not yet loaded
functions that have an associated path.
7 years ago
Peter Stephenson bb218704d2 40306 with doc tweaks: Change behaviour expanding alias in () function definition.
Now an error unless the () is part of the same error as the name.
Add ALIAS_FUNC_DEF option to allow it again.
7 years ago
Phil Pennock 1db0eea95a 40318 (in part): Document echo \c behaviour. 7 years ago
Oliver Kiddle 16f5d222fc 40137: document _external_pwds 8 years ago
Peter Stephenson f094b5b461 Document (E) parameter flag better.
It produces 1 more than any other use of an index for the
end of a match, helpfully.
8 years ago
Daniel Shahaf 7e40a89053 40117: Revert a hunk of 40035 that changed semantics incorrectly. 8 years ago