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

1901 commits

Author SHA1 Message Date
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.
2018-10-08 10:10:42 +01:00
Daniel Shahaf
6a5c38626b unposted: Fix typo 2018-10-02 15:22:06 +00:00
Daniel Shahaf
15d613a14f 43563: zshzle: Clarify sentence in introduction. 2018-09-27 16:03:51 +00:00
Daniel Shahaf
3f2bcceec8 43528: zshbuiltins(1): Document 'which''s "not found is not an error" behaviour. 2018-09-25 23:29:06 +00:00
dana
a435ab530f unposted: Fix trivial formatting error in docs 2018-09-16 18:39:55 -05:00
Daniel Shahaf
b2ddd97175 43404 (after 43392): Fix 'make install' in out-of-tree builds 2018-09-07 10:13:36 +00:00
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.
2018-09-06 13:58:05 +00:00
Daniel Shahaf
6fcb32b300 unposted: docs: Fix duplicated words in _combination. 2018-08-21 10:34:54 +00:00
Peter Stephenson
3c93497eb7 43294: Add ZLE_RECURSIVE parameter. 2018-08-17 19:43:17 +01:00
dana
b21a641d4c 43275: Add log2 to match func 2018-08-13 09:36:55 +01:00
Peter Stephenson
14fe9799ff Remove ftp_sites.yo from Makefile.in 2018-07-17 15:36:25 +01:00
Matthew Martin
72e3b566b4 Update distro docs to remove dead links 2018-07-17 09:30:47 +01:00
Peter Stephenson
eef34baab0 43176: Add note on compatibility to start of manual.
Default mode is not POSIX.
2018-07-17 09:29:00 +01:00
Tim Smith
9f203c1159 43172: document escaping colon in zformat -a 2018-07-16 09:33:18 +01:00
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.
2018-06-25 09:31:40 +01:00
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
2018-06-20 17:29:56 -05:00
Peter Stephenson
9408c4825b users/23472: Add $sysparams[procsubstpid] to zsh/system 2018-06-15 15:02:36 +01:00
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 : 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 2eacbef919.

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
Peter Stephenson
20d464944b 40875: Update REC_EXACT description, suggested by Martin Krafft 2017-03-21 09:59:15 +00:00
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.
2017-03-20 18:52:09 +00:00
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"
2017-03-19 17:18:04 +00:00
Daniel Shahaf
f3ae40f8aa unposted: vcs_info quilt: Fix documentation markup typo. 2017-03-18 00:55:27 +00:00
Daniel Shahaf
56ef4f62c4 40822: vcs_info quilt: Document the '.quilt-foo' zstyle context element. (Compare users/20807.) 2017-03-14 11:14:12 +00:00
Daniel Shahaf
d044530afd 40816: Document interaction of 'print -P' and 'print -f'. 2017-03-12 19:37:18 +00:00
Daniel Shahaf
a5482971b7 40744: Document the SHORT_LOOPS 'function' syntax.
It's already mentioned in passing in zshoptions(1).
2017-03-08 10:04:34 +00:00
Sebastian Gniazdowski
23275fc8db 40726: add "zcurses resize" for sane terminal size change 2017-03-05 11:25:38 -08:00
Peter Stephenson
67c5d83df3 40702: new KEYS_QUEUED_COUNT ZLE variable 2017-03-03 10:18:46 +00:00
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.
2017-03-01 10:01:01 +00:00
Daniel Shahaf
bf292bde14 40641: docs: patterns: Add '|' to the overview. Clarify that it short-circuits. 2017-02-28 07:39:15 +00:00
Barton E. Schaefer
4b8db48c6b 40640: the (A) parameter flag forces array result even if assignment syntax is not used 2017-02-25 15:56:50 -08:00
Barton E. Schaefer
db44b17150 unposted (cf. 40617): clarify description of ${(A)name=value} and ${(AA)name=value} 2017-02-23 21:53:19 -08:00
Øystein Walle
e329a8d62d 40568: REMATCH_PCRE is not enabled by default, fix doc. 2017-02-17 15:34:03 +00:00
Sebastian Gniazdowski
e9ce001749 40558, 40562: General improvements to zsh/db/gdbm module 2017-02-17 09:22:02 +00:00
Peter Stephenson
d8c66e65a2 40537: Document previous change to autoload 2017-02-13 16:34:27 +00:00
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.)
2017-02-09 15:24:04 +00:00
Daniel Shahaf
bb6c08b51a unposted: vcs_info git: Fix typo in manual. 2017-02-04 05:55:46 +00:00
Daniel Shahaf
49bc46946e 40476: vcs_info $backend_misc: Document at the right point, provide in quilt 'standalone' mode. 2017-02-03 18:13:57 +00:00
Peter Stephenson
34f70c5dc0 40440: Add $functions_source hash to zsh/parameter.
This allows you to find out where a function was loaded from.
2017-01-28 19:33:27 +00:00
Daniel Shahaf
b0784025b1 40396: vcs_info quilt: More documentation of '%Q' and 'use-quilt'. 2017-01-25 04:22:29 +00:00
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.
2017-01-23 09:50:57 +00:00
Oliver Kiddle
b6082cd1e2 40321: _arguments option groups 2017-01-11 20:50:02 +01:00
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.
2017-01-11 11:26:13 +00:00
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.
2017-01-10 19:14:26 +00:00
Phil Pennock
1db0eea95a 40318 (in part): Document echo \c behaviour. 2017-01-10 03:48:25 +00:00
Oliver Kiddle
16f5d222fc 40137: document _external_pwds 2016-12-09 22:59:14 +01:00
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.
2016-12-09 19:34:14 +00:00
Daniel Shahaf
7e40a89053 40117: Revert a hunk of 40035 that changed semantics incorrectly. 2016-12-09 10:37:04 +00:00
Eitan Adler
110ffae9fe 40035: Cosmetic fixes for comments and documentation.
Mostly fixes to doubled words.
2016-11-29 17:13:52 +00:00
Oliver Kiddle
3570172d3b 40003: include "0-"9 vi buffers in the registers associative array 2016-11-24 16:05:00 +01:00
Oliver Kiddle
cb5f100bd3 39986, 39989: improve handling of vi-repeat-change
Save previous vi change and throw away a new change that fails.
Add zle -f vichange to allow shell widget to be a single change.
Fix repeat of command where numeric arguments were multiplied.
2016-11-20 23:59:48 +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
Mikel Ward
a2426747da 39978: more accurate doc for finding job by string 2016-11-20 19:18:34 +00:00
Daniel Shahaf
968a59bfd0 39985: Document the [nyae] answers to the spelling correction prompt, $SPROMPT. 2016-11-20 05:34:21 +00:00
Oliver Kiddle
6d991ce177 39952: add registers special parameter to provide access to the vi register buffers from a zle widget function 2016-11-17 12:27:52 +01:00
Barton E. Schaefer
33052104e1 39929: clarify execute{,-last}-named-cmd 2016-11-13 11:00:16 -08:00
Barton E. Schaefer
dae3116026 39882: mention ${name:/pattern/replacement} in the itemized synopsis with the related forms; clarify doc. 2016-11-09 07:50:06 -08:00
Peter Stephenson
33b3489092 zsh-users/22083: attempt to explain what a word is in parameter substitution. 2016-11-07 10:04:14 +00:00
Oliver Kiddle
4b41e33cbc 39389: when printf -v is used with an array use separate elements each time the format is reused 2016-11-05 00:27:47 +01:00
Daniel Shahaf
fe023d8bac users/22080: bracketed-paste: Third time's a charm.
vi-set-buffer: Eliminate the sole use of the term "register".
2016-11-04 15:50:13 +00:00
Daniel Shahaf
0e9faf67aa users/22063: bracketed-paste: Document ability to specify a vi register. (after users/22036) 2016-11-03 16:44:14 +00:00
Daniel Shahaf
3881c6b9a4 users/22036: bracketed-paste: Document cutbuffer behaviour; clarify. 2016-10-28 16:02:03 +00:00
Daniel Shahaf
5dbfbd8bd0 unposted: Minor documentation fixes (markup, grammar, etc). 2016-10-27 18:25:13 +00:00
Daniel Shahaf
71dd0ab62e 39706: _tilde_files: Offer named directories. Document. 2016-10-24 00:53:45 +00:00
Daniel Shahaf
4eef3e6f0e 39708: Document _email_addresses. 2016-10-24 00:53:36 +00:00
Daniel Shahaf
f1c0480afc 39707: Document _dir_list. 2016-10-24 00:53:32 +00:00
Daniel Shahaf
13cfa036c8 39657: Make a helper function global. 2016-10-18 01:34:52 +00:00
Daniel Shahaf
b4cc190db9 39522: add-zsh-hook/add-zle-hook-widget: Promise append semantics.
The sentence about "as widgets" is removed since there is a whole paragraph
about that later on.
2016-10-07 14:01:00 +00:00
Peter Stephenson
dc517212ca 39566: Improve usefulness of command_not_found_handler.
Don't behave as if command not found if return status is non-zero

as this may simply be the return status of the replacement command.
Let the function report a command not found instead.
2016-10-05 12:14:43 +01:00
Daniel Shahaf
4f2a1810f2 39495: add-zle-hook-widget: Add end-of-options guard to hook invocation.
Currently, the only special widget that takes arguments is zle-keymap-select.
2016-09-30 23:15:57 +00:00
Barton E. Schaefer
0a5bf8e767 unposted: update or remove references to typeset behavior obsoleted by 35586. 2016-09-30 15:57:15 -07:00
Barton E. Schaefer
736eb433ba 39507: TMPSUFFIX for =(...) 2016-09-29 14:55:49 -07:00
Oliver Kiddle
b870ff85a0 39333: include name of command used to gain priviliges in context for command and gain-priviliges styles 2016-09-16 00:05:10 +02:00
Oliver Kiddle
fbafc5b509 39332: support ksh's [[ -v varname ]] condition for checking if variables are set 2016-09-16 00:00:28 +02:00
Peter Stephenson
d0f9150530 unposted: small documentation tweaks 2016-09-14 12:17:38 +01:00
Barton E. Schaefer
43137b8e8f unposted: reference use of widgets to effect editor changes from a sched command 2016-09-12 09:52:23 -07:00
Barton E. Schaefer
5456cab86f 39297: more of 39284, it's painful to add texi nodes in yodl
Also fix some inconsequential ChangeLog typos.
2016-09-12 09:50:25 -07:00
Peter Stephenson
1fc4e6dcac 39255: = in conditions is not going anywhere 2016-09-12 14:57:59 +01:00
Vin Shelton
ef019506ae 39284: Added Completion System Variables as a menu item 2016-09-12 00:23:58 +02:00
Oliver Kiddle
8011fe8a58 39261 (tweaked cf. Daniel: 39275): don't unconditionally elevate privileges with sudo in completion functions
A new gain-privileges style enables it and a _comp_priv_prefix array
added for tracking how to match privileges for the current command
2016-09-11 13:49:22 +02:00
Daniel Shahaf
73622ae288 39236 (plus typo fix): docs: Tweak _arguments $opt_args documentation added in 39173. 2016-09-08 17:15:40 +00:00
Daniel Shahaf
73c0e8d4e6 39173: _arguments: Escape colons and backslashes in $opt_args unambiguously. 2016-09-06 23:48:10 +00:00
Teubel György
fde365ea8b 39167: Make $ENV handling more like POSIX 2016-09-05 21:03:12 +01:00
Daniel Shahaf
7154052ebe 39046 + 39061: New :P history modifier. 2016-08-22 03:34:30 +00:00
Daniel Shahaf
0aa6bfd831 39044 (in part, see thread): Document _canonical_paths in the manual, too.
This mostly copy-pastes the source code comments and adds markup, however, the
positional arguments are now annotated optional, and a ')' was added.
2016-08-18 16:55:45 +00:00
Peter Stephenson
062aeca2d2 39039: fix documentation of transpose-words 2016-08-15 12:06:24 +01:00
Peter Stephenson
bedb61fd99 39029: document transpose-words change 2016-08-12 12:54:34 +01:00
Jun-ichi Takimoto
7f052ed3e4 unposted: fix format in zle.yo 2016-08-04 19:32:34 +09:00
Daniel Shahaf
8d71a610af 38959: Document 38956 (_widgets). 2016-07-31 16:21:27 +00:00
Oliver Kiddle
b816bb42cf 38957: make use of updates to match-words-by-style and better support completion of word-style styles for zstyle 2016-07-28 16:16:25 +02:00
Peter Stephenson
26361e438b 38953: Fix some issues with match-words-by-style.
Add keyword retrieval of words.  Improve test for start of
word in subwords for use in delete-whole-word.  If line after
cursor is empty, white space is treated as ws-after-cursor.
2016-07-28 09:51:19 +01:00
Peter Stephenson
bdf0a3df38 38945: Additional notes on :a behaviour 2016-07-26 09:35:14 +01:00
Oliver Kiddle
932ff2b6f8 38929: new vim style text object using match-words-by-style mechanism 2016-07-24 22:18:34 +02:00
Daniel Shahaf
73ff356d7b 38911: _arguments: Clarify documentation of '-s -w' switch 2016-07-23 18:02:23 +00:00
Daniel Shahaf
00f18f29de users/21779: Clarify documentation of the ':a' word modifier. 2016-07-22 06:25:43 +00:00
Daniel Shahaf
6e966f691d users/21777: Clarify documentation of the ':A' word modifier. 2016-07-20 07:00:29 +00:00
Barton E. Schaefer
e3884c60ed 38866: update add-zle-hook-widget doc for 38850, bug fixes
Edge case handling, wrap in anonymous function for kshautoload management.
2016-07-17 12:04:48 -07:00
Daniel Shahaf
18d676ff19 users/21752: Extend zsh/zleparameter's $widgets' parameter's documentation. 2016-07-17 14:58:05 +00:00
Oliver Kiddle
c32bb6a11c 38845: reset region_active before entering zle
It was done on exit but before zle-line-finish.
Also reword documentation on region to better cover vi mode.
2016-07-17 12:09:24 +02:00
Oliver Kiddle
fc286168ed unposted: fix duplicated words 2016-07-08 22:21:42 +02:00
Peter Stephenson
a7d5d239e6 38783: zcalc tweaks for RPN mode.
Make it more straightforward to exchange variables with stack.
2016-07-04 12:08:14 +01:00
Oliver Kiddle
a73ae70e82 38770: vi upper/lowercase widgets and shell widget example that reads a vi movement 2016-06-29 17:05:06 +02:00
Oliver Kiddle
e83489fc4b 38714: add x: syntax to match specs to make it possible to disable match specs hardcoded in completion functions 2016-06-22 01:37:07 +02:00
Peter Stephenson
26c01f5711 38737: clean up zcalc variables.
Undocumented variables now start with "_".
2016-06-21 17:26:35 +01:00
Peter Stephenson
5103c85abb 38736: various RPN mode enhancements for zcalc 2016-06-21 16:34:55 +01:00
Peter Stephenson
d309d9addc 38692: IFS can't be changed in restricted mode 2016-06-21 12:32:27 +01:00
Barton E. Schaefer
0b8ab3a21a 38715: add-zle-hook-widget: assorted ksharrays fixes; assign an index to any hook that is added without one, to preserve append ordering 2016-06-19 19:50:37 -07:00
Barton E. Schaefer
25ae250068 unposted: when ksharrays is set, braces are required for all parameter expansions with colon-modifiers 2016-06-18 16:20:38 -07:00
Peter Stephenson
4cacf1624f 38693: Add RPN mode to zcalc 2016-06-16 11:39:42 +01:00
Peter Stephenson
f497573c80 unposted: fix pareentheses in man for getrusage() 2016-06-16 09:33:49 +01:00
Jun-ichi Takimoto
944ab1a7aa 38684: fix format in contrib.yo 2016-06-16 08:48:12 +09: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
Daniel Shahaf
7badf262c1 38653 + 38657: 'functions -T' tracing: recurse into anonymous functions. 2016-06-13 08:53:18 +00:00
Barton E. Schaefer
8e2ec4517f 38670: New function for managing ZLE special widgets, modeled after Functions/Misc/add-zsh-hook. 2016-06-12 18:50:10 -07:00
Daniel Shahaf
ac3173be90 38593: _describe: Make documentation more greppable.
Make the running text refer to the parameters using their names given in
the signature.  This enables the reader to search for the name given in
the signature.
2016-06-04 16:58:19 +00:00
Marko Myllynen
21d4b4cc0e 38458: mention the option -i of _multi_parts 2016-05-10 19:19:01 +09:00
Axel Beckert
1bf2ba4f19 unposted: Doc/Zsh/builtins.yo: Fix typo
Found by Debian's lintian tool.
2016-05-06 21:32:11 +02:00
Peter Stephenson
5b2b94918a unposted: typo in redirect doc 2016-05-01 13:05:08 +01:00
Sebastian Gniazdowski
fea013b8e8 38356: allow integers as curses colours 2016-04-29 14:01:06 +01:00
m0viefreak
f06be0ffcf 38291: Change names of ISEARCH_* parameters to ISEARCHMATCH_* 2016-04-23 21:28:20 +00:00
m0viefreak
8fe58bf047 m0viefreak: 38264: improve doc for 38145 2016-04-10 11:07:44 -07:00
Peter Stephenson
caff72941d 38236: Order of redirections is important. 2016-04-04 14:53:11 +01:00
Barton E. Schaefer
1ea94513cc Dmitry Marakasov: 38162: accept G for gigabytes in limit command
from github pull request - some formatting edited
2016-03-26 09:45:47 -07:00
m0viefreak
cbc44bd64a 38145: ZLE parameters for isearch and completion suffixes 2016-03-21 09:43:29 +00:00
Daniel Shahaf
43e595712c unposted: Document run-help-* helper functions. 2016-03-18 21:22:59 +00:00
Daniel Shahaf
bd06982b23 38155: docs: compsys: Clarify documentation of the 'filter' style. 2016-03-15 00:12:04 +00:00
Jun-ichi Takimoto
db42e7c504 38108: enable to create both zsh_{a4,us}.pdf
Default paper size is taken from LC_PAPER.
Stop to check for pdfetex (obsolete and redundant).
2016-03-08 21:42:21 +09: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
Daniel Shahaf
f96a016728 users/21256 + workers/37965: New math functions min(), max(), sum(), provided by a new autoloadable function 'zmathfunc'. 2016-02-16 10:52:27 +00:00
Peter Stephenson
db3f2d253c 37893: document typeset -U behaviour for PATH-style variables 2016-02-09 16:03:36 +00:00
Daniel Shahaf
b0706d64ee 37896: zshbuiltins: Document argv behaviour of 'source' without arguments 2016-02-09 03:39:17 +00:00
Peter Stephenson
1ab316c9b8 37895: $ZSH_SCRIPT is POSIX $0 but always availble 2016-02-07 21:01:08 +00:00
Dominik Ritter
dd2aa85807 unposted: complist module docs: Fix parameter name in an example.
Submitted via GitHub (https://github.com/zsh-users/zsh/pull/6).
2016-02-07 00:23:22 +00:00
Barton E. Schaefer
0baf57701c 37845: Forward-reference typeset instances where no parameter is created, and remove the obsolete statement about array assignments separated from typeset command on -p. 2016-01-31 15:17:44 -08:00
Barton E. Schaefer
31d0bc1cdc 37844: reorder typeset introduction to keep related concepts together. 2016-01-30 13:07:04 -08:00
Daniel Shahaf
3b69b121de 37831: typeset: Document exit status difference from parameter assignment statements 2016-01-30 07:37:46 +00:00
Barton E. Schaefer
85c185aa89 37802: Clarify zparseopts description. (This file inadvertently ommitted
from previous commit.)
2016-01-27 22:10:38 -08:00
Daniel Shahaf
c6fc6f80cd 37665: Completion: New helper _absolute_command_paths. 2016-01-20 07:49:29 +00:00
Daniel Shahaf
9df6c728e8 37664: docs: Document the completion function _command_names. 2016-01-20 07:49:25 +00:00
Daniel Shahaf
abe997e5e0 unposted: docs: zshzle(1): Trivial clarification to $CONTEXT. 2016-01-18 02:39:51 +00:00
Peter Stephenson
524f802610 37489, tweaked: with POSIX_IDENTIFIERS create math var as scalar 2016-01-03 18:57:10 +00:00
Barton E. Schaefer
03adf52414 37493: readonly + POSIX_BUILTINS == typeset -gr 2016-01-02 12:40:31 -08:00
Barton E. Schaefer
15b73ea99b 37467: add "print -v var" / "printf -v var" 2015-12-31 12:38:10 -08:00
Mikael Magnusson
c3ea3ffa73 36650: Add zle-line-pre-redraw hook for highlighting 2015-12-19 13:21:12 +01:00
Peter Stephenson
f5b8efa7e0 37344: restore old printable quoting, add ${(q+)...}.
The \C- form is only used inside quotedzputs().

${(q+)...} outputs a quotedzputs() representation.
2015-12-07 21:49:07 +00:00
Peter Stephenson
dfd761058e 37310: effect of disabling typeset reserved word 2015-12-07 09:44:06 +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
Barton E. Schaefer
e59a857b69 unposted: document order of entries for $history and $historywords 2015-11-20 14:15:43 -08:00
Peter Stephenson
5d0859a401 unposted: describe separators between values in array assignment 2015-11-19 14:19:40 +00:00
Peter Stephenson
f39ae235a2 37140: note that <<(...) is < <(...) 2015-11-18 14:58:43 +00:00
Peter Stephenson
bc543abbf6 37127: document indexing of $signals 2015-11-17 10:43:23 +00:00
Barton E. Schaefer
a24487d73a 37119: further "Rules" clarifications 2015-11-15 10:16:52 -08:00
Barton E. Schaefer
9ce000db22 37115: update for changes in ${(P)...} evaluation. 2015-11-14 21:22:17 -08:00
Jun-ichi Takimoto
d5ba08af49 unposted: a few cosmetic format fixes in docs 2015-11-13 01:03:38 +09:00
Jun-ichi Takimoto
ff85c8b1c9 37090: correctly handle blank lines in yodl macro example() 2015-11-13 00:16:20 +09:00
Peter Stephenson
830d54e629 37092: make nested ${(P)name} properly refer to parameter on return 2015-11-11 18:04:20 +00:00
Barton E. Schaefer
121f36e700 Merge branch 'master' of git://git.code.sf.net/p/zsh/code
Conflicts:
	ChangeLog
2015-11-09 10:08:22 -08:00
Barton E. Schaefer
6783c4538f Jun T. proofreading 2015-11-09 10:07:17 -08:00
Jun-ichi Takimoto
623d318581 37085: fix doc: DEBUG_BEFORE_CMD is set by default 2015-11-09 23:48:24 +09:00
Barton E. Schaefer
d3d5325d27 37081: new module zsh/param/private for private-scoped parameters in functions 2015-11-08 16:19:37 -08:00
Peter Stephenson
ba36967b57 37038: add -l option to emulate to list options in emulations 2015-11-01 18:12:40 +00:00
Peter Stephenson
1eef57b3d1 37027: allow subword context to discriminate between words 2015-10-30 16:59:41 +00:00
Peter Stephenson
58f4cccb1f 37022: add GLOB_STAR_SHORT option to abbreviate ** and *** 2015-10-30 12:28:07 +00:00
Peter Stephenson
b498bd7ce5 36982: Fix bug with (#cN) patterns and remove redundant description.
We need to restore the current count of matches when returning to
match at the point where we previously matched.
2015-10-27 11:54:19 +00:00
Peter Stephenson
63fd71f171 36977: note about difficulties of pattern repetitions 2015-10-27 10:58:39 +00:00
Peter Stephenson
15490398d7 36944: extend fd management to zsocket 2015-10-24 20:48:47 +01:00
Daniel Shahaf
8e9a68ad14 unposted: vcs_info docs: Typo fix. 2015-10-22 12:29:42 +00:00
Peter Stephenson
bab1fc5043 36856: cdr -p/-P to prune directory list 2015-10-14 14:23:16 +01:00
Peter Stephenson
196e6a0ec0 36735: add ~/.zcalcrc handling to zcalc 2015-10-01 15:55:01 +01:00
Peter Stephenson
8877783b2f Merge branch 'master' of https://git.code.sf.net/p/zsh/code 2015-10-01 09:44:56 +01:00
Barton E. Schaefer
d1a810b000 remove sentence fragment 2015-09-30 19:58:43 -07:00
Mikael Magnusson
a855d7bd24 36709: zle -f from inside widget to set flags and make yank start/end zle params writable 2015-10-01 03:51:44 +02:00
Matthew Martin
007f249a8e 36693: arithmetic rounds towards zero, document 2015-09-30 14:22:59 +01:00
Daniel Shahaf
2654cb43f6 36651: WARN_CREATE_GLOBAL += math expressions
Without this, '() { (( x=42 )) }' and '() { for (( i=0; … )) }' wouldn't warn
about $x and $i, respectively, being created global.
2015-09-27 23:52:25 +00:00
Peter Stephenson
649d06a8cd 36630: new function zsh_directory_name_generic 2015-09-25 21:30:34 +01:00
Barton E. Schaefer
377e2400b7 36623: document bracketed-paste-magic and url-quote-magic; add cross-reference to vim text object widgets 2015-09-24 18:46:27 -07:00
Han Pingtian
acf5bd766a 36586: fix completion match right anchor 2015-09-22 10:18:41 +01:00
Han Pingtian
d2910fd64f 36538: fix description of b and B completion match anchors 2015-09-22 09:58:59 +01:00
Jun-ichi Takimoto
53fcadc1f8 36578: option in a set has key "set-opt" in $opt_args 2015-09-22 11:16:32 +09:00
Barton E. Schaefer
bdcdb562d9 cf. users/20606: zcompile prepares scripts for sourcing, not for execution 2015-09-19 23:06:55 -07:00
Barton E. Schaefer
18d82a6c40 cf. users/20586: clean up cross-references to the "Autoloading Functions" doc 2015-09-18 10:10:35 -07:00
Daniel Shahaf
9955bbdb9f unposted: docs: Typo fixes 2015-09-14 20:33:03 +00:00
Daniel Shahaf
c76f4f96a6 36443: Set zle_highlight=(paste:standout) by default. 2015-09-11 21:49:39 +00:00
Daniel Shahaf
c088906423 36445: Expose yankb, yanke, ZLE_YANK to widgets. 2015-09-10 19:14:34 +00:00
Peter Stephenson
e86b3cce47 36478: Add [[:INCOMPLETE:]] and [[:INVALID:]] pattern tests. 2015-09-10 20:05:48 +01:00
Daniel Shahaf
8931e47b8d 36437: Document interaction of $region_highlight and $zle_highlight. 2015-09-07 21:17:40 +00:00
Daniel Shahaf
1cba80bf08 unposted: ZLE_STATE: fix obvious documentation typo. 2015-09-07 21:14:15 +00:00
Daniel Shahaf
a4f087b98e unposted: Minor documentation tweaks. 2015-09-05 10:47:53 +00:00
Daniel Shahaf
880579dc1e 36410: vcs_info git: Present merge heads as patches
This shows, during 'git merge', the revision hashes of the "remote" head
(the one that will become second parent of the commit) in the %m expando.

Review-by: Frank Terbeck
2015-09-05 10:47:44 +00:00
Jun-ichi Takimoto
3a676eab44 36417: fix/update top level texinfo menu 2015-09-04 21:07:33 +09:00
Peter Stephenson
945136e752 users/20475: document cdr stores unique entry of most recent use 2015-08-28 11:04:02 +01:00
Peter Stephenson
2372daa755 36216: Simpler handling of UNDO_LIMIT_NO 2015-08-18 10:44:46 +01:00
Peter Stephenson
bd89f38fb7 unposted: use of $f in zmv 2015-08-17 20:22:20 +01:00
Mikael Magnusson
46a46a90c2 36078: vcs_info: Adjust documentation for no longer exporting 2015-08-12 04:31:29 +02:00
Barton E. Schaefer
a01f29c11d 36092: return the zpty master file descriptor in $REPLY for use with "zle -F" etc. 2015-08-11 08:55:23 -07:00
Oliver Kiddle
3183cbd98c 36044: deactivate-region widget for escape in visual mode 2015-08-11 13:28:14 +02:00
Jun T
bde91914df 36067: fix typo and format in the documentation 2015-08-11 13:07:59 +09:00
Peter Stephenson
ade35d3c26 35885: document closing fd's opened with sysopen 2015-08-10 09:25:13 +01:00
Mikael Magnusson
1e0ba96c7d 35954: Doc: sysopen -u is not optional 2015-08-08 22:15:44 +02:00
Jun-ichi Takimoto
d09dc4562a 35928: '%-m' should work even if not supported by strftime(3)
Also clarify document.
2015-08-08 03:39:51 +09:00
Daniel Shahaf
a98260b174 _arguments docs: Divide into subsections 2015-07-27 13:42:45 +00:00
Daniel Shahaf
2d41e443a1 _arguments docs: Bring all option descriptions to one place 2015-07-27 13:42:45 +00:00