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

1661 commits

Author SHA1 Message Date
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
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
Barton E. Schaefer
f3130bf6e9 35896: index zle_highlight 2015-07-24 17:06:22 -07:00
Oliver Kiddle
bfc5c04e42 35865: document %^ prompt expansion 2015-07-24 12:39:18 +02:00
Oliver Kiddle
0f02b27ab0 35864: add sysopen, sysseek and systell to system module 2015-07-24 12:36:35 +02:00
Oliver Kiddle
b4aff3bc52 35824: allow highlighting of just pasted text and put text from bracketed paste in cut buffers 2015-07-23 05:36:27 +02:00
Daniel Shahaf
ca2ab5e446 35775: New zsh-specific yodl vim syntax highlighting.
To try this, see the instructions at the top of Util/zyodl.vim (in the comment).

* Util/zyodl.vim: New syntax highlighting file.
* Doc/Zsh/.vimrc: New file, hooks up zyodl.vim for automatic loading.
* Etc/zsh-development-guide: Namedrop zyodl.vim for discoverability.
2015-07-13 23:22:19 +00:00
Peter Stephenson
2833299312 35708: add UNDO_LIMIT_NO 2015-07-09 19:29:59 +01:00
Barton E. Schaefer
f56e23eb66 unposted: alphabetize ${(b)...} flag 2015-07-06 16:35:25 -07:00
Barton E. Schaefer
ef3db713d5 35709: explain :s/// modifier contexts. 2015-07-06 16:35:25 -07:00
Oliver Kiddle
68a5a5f453 35704: compadd -E 0 should imply -J and -2 2015-07-06 22:40:47 +02:00
Peter Stephenson
d01a8a4553 unposted: fix formatting typo in options list. 2015-06-29 19:24:31 +01:00
Peter Stephenson
7708849b21 35655: APPEND_CREATE option for POSIX copmatible NO_CLOBBER 2015-06-29 19:01:31 +01:00
Barton E. Schaefer
2f0213d733 35626: update POSIX_CD to note that it is on in ksh and sh emulations 2015-06-26 20:45:54 -07:00
Peter Stephenson
39b28980f3 various posts: Implement assignment parsing for typeset.
Typeset assignments now work like raw assignments except
for no "+=" and no GLOB_ASSIGN.

Documented in typeset builtin doc and mentioned in release notes.

Tests to ensure basic sanity.

Enabled by default, can be turned off by "disable -r" with typeset
family of commands.
2015-06-24 10:21:12 +01:00
Mikael Magnusson
f91644c9ca 35554: Document narrow-to-region -l and -r. 2015-06-22 02:19:37 +02:00
Oliver Kiddle
98687fa1de 35474, 35492: support the bracketed paste mode of newer terminal emulators 2015-06-19 00:15:38 +02:00
Oliver Kiddle
0a0ba5e664 35487, 35496: don't reinstate previous incremental search string
when search direction changes
2015-06-19 00:01:42 +02:00
Peter Stephenson
370e7f73f6 35442: document MULTIBYTE is always on by default when available 2015-06-11 12:41:05 +01:00
Oliver Kiddle
5ff536f613 35418: fix usage synopsis for _describe to be clear that a single
description is used
2015-06-09 23:35:15 +02:00
Barton E. Schaefer
229bc3cc74 35350: extend "fc -I" to cover listing of "internal" history events only 2015-06-06 12:31:47 -07:00
Peter Stephenson
2abba7243a 35386: expand tabs where useful in builtins outputing function.
Also add to zed -f.

Option is -x <numm>.
2015-06-05 11:21:22 +01:00
Daniel Shahaf
9dc173efc3 unposted: Typo fix 2015-06-02 10:08:17 +00:00
Peter Stephenson
93e72ed1e9 35353: print -x and print -X expand tabs 2015-06-02 09:17:04 +01:00
Peter Stephenson
75cafccc0a 35343: Avoid $#name length handling for POSIX_IDENTIFIERS 2015-05-31 16:40:14 +01:00
Barton E. Schaefer
911edc5ea4 users/20238: add "fc -L" to operate only on the local shell history
Also avoid invoking the editor on empty results.
2015-05-30 15:22:09 -07:00
Han Pingtian
63dfc82bd2 35311: typo in zfuput behaviour 2015-05-30 20:08:36 +01:00
Peter Stephenson
2b08d0ed67 35318: POSIX_BUILTINS behaviour for getopts.
It needs to keep OPTIND, as well as the index within the
string pointed to by OPTIND, global in this case.
2015-05-28 18:32:39 +01:00
Jun-ichi Takimoto
0a97508bf6 35289: fix typos in the description of emulate
based on 34981 by Han Pingtian
2015-05-26 23:12:37 +09:00
Peter Stephenson
a95f2c6071 35250: Fix case documentation (SH_GLOB) 2015-05-21 10:43:32 +01:00
Peter Stephenson
ff19094669 35193: Add "unalias -a". 2015-05-18 16:57:08 +01:00
Peter Stephenson
85a4cf9b36 35110: don't implicitly initialize restricted integers to zero 2015-05-14 09:28:57 +01:00
Jun T
9c3aeef99a unposted: include doc tweek to expn.yo from 35071
expn.yo is now essentially the same as commit 6269db8
2015-05-12 15:39:18 +09:00
Jun T
8421c9e59d 35086: reapply a hunk from 35067 for expn.yo
the hunk has been mistakenly reverted by 35075
2015-05-12 14:51:43 +09: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
Peter Stephenson
6269db883a 35067: Add (b) parameter flag for pattern char backslashing.
Doc tweak from Daniel in 35071.

Includes test.
2015-05-10 19:19:34 +01:00
Peter Stephenson
f855801fb9 35059: fix, document, test readonly -p.
Don't output specials as can't be reconstructed.

Output arrays in a useful order.
2015-05-08 12:53:18 +01:00
Peter Stephenson
f29895cc08 c.f. 35041: typo in zle.yo 2015-05-06 09:27:09 +01:00
Jun-ichi Takimoto
36a55e278e 35034: improve manual format up to Chapter18 2015-05-06 10:45:21 +09:00
Jun-ichi Takimoto
938751d263 35008: clarify description of 'exec' and 'return' 2015-05-01 22:11:30 +09:00
Peter Stephenson
0e797d79ce 35007: Note in doc about scope of ZLE parameters 2015-05-01 09:55:04 +01:00
Peter Stephenson
bf258a1c07 34992: POSIX fix for readonly variables.
With POSIXBUILTINS, variables can be marked readonly if unset.
Also, variables can't have the readonly flag removed.
2015-04-29 15:54:49 +01:00
Barton E. Schaefer
9d0e3bde2a 34961: minor wording clarification 2015-04-25 10:58:55 -07:00
Barton E. Schaefer
89c2129905 34961: sysparams[pid] and sysparams[ppid] added to variables index 2015-04-25 10:50:16 -07:00
Mikael Magnusson
ccb1cf2d10 34902: Doc: Explain the numeric argument and be consistent about what we call it 2015-04-16 14:30:26 +02:00
Han Pingtian
959aa75423 34880: POSIX_TRAPS doc 2015-04-13 11:30:23 +01:00
Han Pingtian
20982001b1 34875: CSH_JUNKIE_HISTORY doc 2015-04-13 11:26:52 +01:00
Han Pingtian
cea8b471f6 users/20078: HIST_BEEP doc 2015-04-13 11:21:12 +01:00
Jun-ichi Takimoto
be5f561fa4 34850: make URLs in html/pdf docs clickable 2015-04-07 20:40:57 +09:00
Jun-ichi Takimoto
f5e7c4c839 34840: minor format fixes in prompt.yo 2015-04-03 21:40:25 +09:00
Jun-ichi Takimoto
1278156dc3 34836: fix description of '%-0<<' in prompt.yo 2015-04-03 21:29:41 +09:00
Han Pingtian
5b2bb68364 34822: correction to GLOB_SUBST doc 2015-04-01 09:31:48 +01:00
Han Pingtian
26cfae830c 34785: fix typo in SHINSTDIN doc 2015-03-27 10:36:45 +00:00
Han Pingtian
ddf96cf933 34769: incorrect doc of process time calculation 2015-03-25 19:29:59 +00:00
Barton E. Schaefer
32b4cb0e73 34734: further aliasing adjustments and doc
restrict token aliasing (34641) to global aliases; tighten up POSIX_ALIASES to better match spec; update Aliasing doc to cover this and clarify older behavior

2015-03-18  Peter Stephenson  <p.stephenson@samsung.com>

	* 34723: configure.ac: turn off fixed site function directory if
2015-03-18 18:01:54 -07:00
Peter Stephenson
235e9bd1bf 34721: new glob qualifier functions before, after 2015-03-16 15:09:16 +00:00
Daniel Shahaf
236da69842 34671 plus tweaks: Add -1 -2 -J -V -x to _describe, use them to sort 'git --fixup' hash completions 2015-03-16 09:27:06 +00:00
Barton E. Schaefer
7e994fe145 34712: clarify words that may be aliased 2015-03-15 23:33:19 -07:00
Peter Stephenson
e85906ebc9 users/19985: improve doc of subscripting substrings further 2015-03-10 12:20:47 +00:00
Jun-ichi Takimoto
d902b55bd4 34643: clarify documentation for print and bindkey 2015-03-06 20:32:56 +09:00
Peter Stephenson
2f3547689c 34653: move aborted vared lines to ZLE_VARED_ABORTED 2015-03-06 09:51:16 +00:00
Peter Stephenson
00b3085b96 34657: document the effect of substring subscripting better 2015-03-06 09:50:01 +00:00
Daniel Shahaf
42e5f591f5 34640: clarify documentation for _guard function 2015-03-04 09:18:07 +00:00
Barton E. Schaefer
4edcacbcf3 users/19934: document %D{...} for WATCHFMT 2015-02-28 13:45:51 -08:00
Barton E. Schaefer
009b6c9ff5 34597: Revise strftime description to correctly explain timezone handling and note signed int rollover 2015-02-21 20:01:32 -08:00
Peter Stephenson
041a85243e 34558: preexec doc fix.
It was wrongly claming the first parameter was empty if the line was
removed from the history.
2015-02-16 16:12:07 +00:00
Mikael Magnusson
dd988542f4 Fix typo from 28487 2015-02-14 02:00:25 +01:00
Peter Stephenson
638bccb1c5 users/19850: add pattern support to watch variable 2015-02-11 12:52:22 +00:00
Peter Stephenson
1a91cb7fb1 users/19825: Clear statement about POSIX compatibility
Right of start of manual where we already refer to ksh.
2015-02-06 10:46:58 +00:00
Barton E. Schaefer
a7925f9a1c unposted: fix formatting of "--". 2015-02-03 19:26:51 -08:00
Peter Stephenson
79378d4acd users/19800: more help for $HISTORY_IGNORE 2015-02-03 17:13:26 +00:00
Barton E. Schaefer
3ae6fb965f 34446: add "ztie -r" and "zuntie -u", update documentation 2015-02-01 14:01:53 -08:00
Barton E. Schaefer
22ad56296d unposted: fix other typeset doc errors 2015-01-28 09:07:25 -08:00
Barton E. Schaefer
6558ab611b 34421: clean up typeset documentation
Also remove duplicated ChangeLog entry for 34365.
2015-01-28 08:04:52 -08:00
Frank Terbeck
88c7badb8b 34419: vcs_info documentation: Fix wording
As suggested by Daniel Shahaf.
2015-01-27 21:14:47 +01:00
Barton E. Schaefer
2fa11b7c54 34350, 34353: document zsh/db/gdbm module, clean up a few things in the code
Still core dumps at this revision if the tied parameter is forced to be a local and is not untied before end of scope.
2015-01-25 11:34:26 -08:00
Oliver Kiddle
f972b023a2 34373, 34374: update completion of builtin commands, modifiers,
parameter and globbing flags
2015-01-25 18:23:03 +01:00
Daniel Shahaf
5a1fdc0f1c 34381: vcs_info: Documentation update
This adds documentation for more hooks and styles available in
vcs_info:

  - patch-format
  - nopatch-format
  - get-unapplied
  - pre-addon-quilt
  - set-patch-format
2015-01-25 15:44:05 +01:00
Daniel Shahaf
9d25fd7255 vcs_info hg: Support inactive bookmarks
(Similar to git detached heads)
2015-01-25 01:42:05 +01:00
Peter Stephenson
0e3548994e 34329: add -S option to which and where 2015-01-20 17:31:28 +00:00
Peter Stephenson
3a99ef322d 34280: more widespread use of FORCE_FLOAT.
Add the case of variables read for use in arithmetic expressions.
2015-01-15 13:52:40 +00:00
Barton E. Schaefer
9fcc9d6e8d 34273: use "enough" colons in each completion style pattern example 2015-01-13 19:24:58 -08:00
Peter Stephenson
626650f20e 34253: warn in zcalc doc about integer arithmetic.
C.f. warning in arithmetic doc in 34194.
2015-01-12 11:10:07 +00:00
Peter Stephenson
53e3d9e063 34914: explanation of effect of integer promotion 2015-01-10 19:49:16 +00:00
Barton E. Schaefer
bd13ffefab users/19721: clarify context vs. style in compsys configuration 2015-01-10 10:32:31 -08:00
Peter Stephenson
6291d38848 34182: doc: to add zf_\* builtins use zmodload -m -F 2015-01-09 17:24:16 +00:00
Mikael Magnusson
62b0e611ce 30568: Add tetriscurses contrib function, port of tetris to zcurses 2015-01-09 12:49:56 +01:00
Peter Stephenson
aa622e0801 users/19682: document recommended use of whence 2015-01-04 00:28:03 +00:00
Peter Stephenson
33d1439fdb users/19667: whence -S shows intermediate steps in symlink expansion 2015-01-02 21:32:51 +00:00
Peter Stephenson
4042640eee zsh-users/19551: history documentation.
Note in a couple of places that history file reading and writing
is only done in interactive shells.
2014-12-17 10:53:13 +00:00
Oliver Kiddle
1e0064e58b 33956: document key binding changes and remove ^X binding 2014-12-13 19:34:24 +01:00
Oliver Kiddle
edb9c94025 33950: ignore KEYTIMEOUT for vi operators 2014-12-12 14:14:00 +01: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
Oliver Kiddle
88f4e24d4c 33924: allow vi line/characterwise mode to be forced 2014-12-08 17:24:48 +01:00
Daniel Shahaf
908abba891 33883: documentation for (*) glob qualifier 2014-12-07 16:13:39 +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
Peter Stephenson
af6256f8af 33830: META-FAQ updates.
Don't mention CVS.

Use correct sourceforge URL.
2014-12-01 14:28:37 +00:00
Simon Ruderich
a6bf64648b 33139: add doc example to glob broken symbolic links. 2014-11-28 11:55:17 -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
Peter Stephenson
a8927bf27b 33793: add 0b binary interpretation to integer constants 2014-11-26 17:26:58 +00:00
Daniel Hahler
1fec267156 33746: read -q doc refers to -t 2014-11-24 10:05:44 +00:00
Stephane Chazelas
ff292af95f 33740: FAQ: another way of avoiding MULTIOs effects on pipes 2014-11-23 18:29:09 +00:00
Barton E. Schaefer
02bca2ea0f 33763 (cf. Baptiste Daroussin 33747): fix nested item list in generated zshmodules.1 2014-11-22 14:52:31 -08:00
Barton E. Schaefer
626398f37d add menu reference to Text Objects 2014-11-21 21:54:37 -08:00
Oliver Kiddle
58da0f495c 33730: vim style text objects for selecting words 2014-11-21 11:40:00 +01:00
Peter Stephenson
dded99b085 33679: Note on patter s in case statements
They work exactly like groups in other patterns, despite contrary
indications.
2014-11-19 15:48:58 +00:00
Oliver Kiddle
d29e02c1a3 33704: keybindings, documentation, tests and minor
fixes for vim style visual selection changes
2014-11-17 23:01:00 +01:00
Oliver Kiddle
0ea8f28e7b 33700: new widget for put in vim style visual selection mode 2014-11-17 16:32:04 +01:00
Oliver Kiddle
1e934556f7 33697: new vim style vi-backward-word-end widgets 2014-11-15 21:33:32 +01:00
Oliver Kiddle
13f3eec61d 33696: simple up/down line widgets that don't go through history lines 2014-11-15 21:31:29 +01:00
Peter Stephenson
e33411990e AUTO_CD behaviour depends on SHIN_STDIN, document 2014-11-11 19:51:05 +00:00
Oliver Kiddle
31df6c4d32 33643: elaborate documentation of the PRIVILEGED option 2014-11-09 17:53:25 +01:00
Oliver Kiddle
fd302c9837 33570, 33576: make killring/yank-pop work in vi mode after
vi-put-before and vi-put-after
2014-10-30 21:52:36 +01:00
Peter Stephenson
b4f7ccecd9 33531 with additions: retain status of exited background jobs.
Add linked list of unwaited-for background jobs.
Truncate at value of _SC_CHILD_MAX discarding oldest.
Remove old lastpid_status mechanism for latest exited process only.
Slightly tighten safety of permanently allocated linked lists so
that this doesn't compromise signal handling.
2014-10-26 17:47:42 +00:00
Oliver Kiddle
bdedf7b40b 33518: add support for "_ vi buffer and arguments to vi-set-buffer from a zle widget 2014-10-23 21:47:23 +02:00
Peter Stephenson
3b5d77d819 33423: expand ${(p)...} to allow ${(ps.$param.)...} 2014-10-12 17:52:11 +01:00
Mikael Magnusson
7eb949a6bb Fix some typos in the documentation 2014-10-03 04:54:48 +02:00
Oliver Kiddle
00a654af5c 33323: fix bug in removing math functions and complete -M option to functions 2014-10-02 19:29:32 +02:00
Barton E. Schaefer
c080bd52bc 33319: fix parens in example from 33312 2014-10-01 21:31:20 -07:00
Peter Stephenson
5e516898d7 33312: document redirections applied to function definitions 2014-10-01 20:36:55 +01:00
Barton E. Schaefer
b4c7f0e7d1 33206: fix compdescribe doc 2014-09-19 19:45:55 -07:00
Peter Stephenson
08e5191ff0 users/19097: remove $functypetrace in favour of ref to $zsheval_context 2014-09-18 19:09:52 +01:00
Marc Finet
9c29a4f1f6 33184: vcs_info git: consider patches for rebase
Since a rebase contains a list of patches to re-apply, re-use the
facility for stgit to have the same mechanism.
The patch list given to the gen-{un,}applied-string hooks is an array
with the sha1 and the subject of the commit. On rebase merge, the
applied patches prior to current contains only a number and "?".
2014-09-16 23:20:55 +02:00
Mikael Magnusson
78dd672e1a 33136: P glob qual appends words when negated 2014-09-16 00:27:05 +02:00
Peter Stephenson
246404a44d Add $functypestack special parameter in zsh/parameter 2014-09-12 20:35:16 +01:00
Barton E. Schaefer
b7ba62871e clarify ${(~j.|.)array} example 2014-09-06 22:17:56 -07:00
Peter Stephenson
3518783680 33110: document use of $IFS[0] for variable padding 2014-09-04 20:23:22 +01:00
Peter Stephenson
2bff41d1f6 33091: improve documentation for ttyctl 2014-09-04 09:31:44 +01:00
Barton E. Schaefer
5b57f28256 33070: add %(e..) based on %e 2014-08-30 14:11:58 -07:00
Peter Stephenson
711e1427b5 33057: %e in prompts shows evaluation / execution depth 2014-08-29 09:46:34 +01:00
Peter Stephenson
cc6e9db29d 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
Oliver Kiddle
469ee6daef 32997: new utility function for separated lists 2014-08-14 19:00:04 +02:00
Peter Stephenson
5bcf00979f 33002: tcp_expect -P pm tags matches with a string 2014-08-14 09:56:43 +01:00
Axel Beckert
1973bbd125 unposted: Fix typo in Doc/Zsh/expn.yo 2014-08-10 13:27:41 +02:00
Barton E. Schaefer
349fe907cb mention 32971 in NEWS, clarify RPROMPT behavior in docs 2014-08-08 18:48:30 -07:00
Barton E. Schaefer
6fc3b67b80 32971: negative argument with %(l..) and with %<< or %>> calculates space available before right margin 2014-08-07 09:26:09 -07:00
Peter Stephenson
ef3fd473c0 32954: Missed the doc change. 2014-08-04 19:53:54 +01:00
Mikael Magnusson
b8751cb9d7 32949 (wip 32928, 32937): Add :^ syntax for zipping two arrays 2014-08-04 19:00:01 +02:00
Peter Stephenson
1f396dbe25 32944: read -qs is handled correctly by current code 2014-08-03 20:33:11 +01:00
Peter Stephenson
ebc27890da user/19006: document position of RC_EXPAND_PARAM in parameter subst 2014-08-03 20:31:21 +01:00
Peter Stephenson
15db636380 %P at start of TCP function system prompt causes %-style prompt subst 2014-07-30 12:26:03 +01:00
Peter Stephenson
d3d0910293 32918: add %. to ztrftime for use in prompts 2014-07-30 12:10:15 +01:00
Peter Stephenson
6076c474f2 unposted: replace-argument can take negative prefix to count from end 2014-07-24 10:49:50 +01:00
Barton E. Schaefer
4054f1a0e8 force retention of whitespace in "fc" item prototype 2014-07-20 11:44:51 -07:00
Barton E. Schaefer
2693d852f6 32891: CASE_MATCH for =~ when using pcre; fix pcre_match with empty string 2014-07-20 11:42:09 -07:00
Peter Stephenson
4e54648add 32866: new replace-argument ZLE function.
Also a couple of read-from-minibuffer fixes: don't pass numeric
argument to recursive edit, and hide the minibuffer edit from
the undo history.
2014-07-17 09:45:46 +01:00
Peter Stephenson
f6b322979b Attempt to improve doc for assignment 2014-07-08 09:38:48 +01:00
Peter Stephenson
e0dccff13e 32799: resource NTHR not well handled on NetBSD 2014-06-26 10:48:19 +01:00
Jun T
0853bcfdd6 32781: source behaves like . w.r.t. path search 2014-06-16 20:15:35 +01:00
Jun T
522908c7ff 32779: fix a typo in options.yo 2014-06-14 16:14:38 +02:00
Peter Stephenson
b5198b10a1 32768 with further modifications: LOCAL_LOOPS option. 2014-06-13 21:39:44 +01:00
jchaloup
d6698d89a6 32666: shell emulation doc addition 2014-06-13 21:32:58 +01:00
Peter Stephenson
6336347c9e fix my own merge conflict with grammar changes 2014-06-09 09:50:37 +01:00
Jun T
2ba4aa275e 32755: move incorrectly placed line in grammar.yo 2014-06-09 09:45:47 +01:00
Jun T
37ccdf58c0 32719: minor doc issues 2014-06-06 22:04:08 +01:00
Jun T
d7ca50c872 32715: doc formatting fixes 2014-06-06 22:02:04 +01:00
Peter Stephenson
7f6dc0fe8e 32682 with tweaks: Add INC_APPEND_HISTORY_TIME.
Revert INC_APPEND_HISTORY behaviour.
2014-06-06 21:56:47 +01:00
Daniel Shahaf
69378db3c5 32708: glob qualifier (Y) implies (oN)
plus incidental patch to avoid adding a meaningless bitvalue to sort-order flags
2014-06-04 22:47:20 -07:00
Daniel Shahaf
9381bb6a2d 32694: the number of matches to find is the suffix argument of (Y) qualifier 2014-06-03 23:46:07 -07:00
Jun T
5cfe18670c 32681: formatting issue in zle doc 2014-06-03 20:26:42 +01:00
Barton E. Schaefer
19f3161e51 32634: add POSIX_ARGZERO option 2014-06-01 15:01:37 -07:00
Daniel Shahaf
10ae77c0cf users/18857: add (Y) glob qualifier to generate only one match per pattern 2014-06-01 14:18:21 -07:00
Peter Stephenson
501f2003a8 32640: (#q) in [[ ... ]] forces globbing 2014-06-01 20:55:39 +01:00
Daniel Shahaf
e65a221439 32620: Typo fix after commit eb4c70d 2014-05-29 16:50:08 +02:00
Jun T
d082827c83 32616: bad printf arguments for limits 2014-05-18 18:23:16 +01:00
Peter Stephenson
3ff598bf46 users/18827 plus tweaks to original comments: hg bookmarks extraction improvement 2014-05-16 09:39:25 +01:00
Eric Cook
e1ff0a8bab 32603: fix documentation of status after try / always 2014-05-09 09:53:44 +01:00
Tomoki Sekiyama
0da28f323d 32592: add CORRECT_IGNORE_FILE variable 2014-04-29 10:44:09 +01:00
Peter Stephenson
47c440aa2a 32527: zcalc-auto-insert key binding for use in zcalc 2014-04-07 09:58:30 +01:00
Barton E. Schaefer
21d01000be unposted: fix typo 2014-04-06 09:57:20 -07:00
Peter Stephenson
141f569c0f 32521: document that LOGNAME comes from getlogin() 2014-04-06 16:54:29 +01:00
Daniel Shahaf
ccc840470a 32528: vcs_info: Document 'post-backend' hook and bzr 'check-for-changes' support. 2014-04-05 10:56:54 +02:00
Daniel Shahaf
eb4c70d0b7 32528: vcs_info: Add check-for-staged-changes 2014-04-05 10:56:52 +02:00
Peter Stephenson
86873edea9 users/18644: bindkey -s doc should have forward reference.
Indicate there is documentation for the argument strings.
2014-03-20 15:14:20 +00:00
Jun T
53e9e2646d 32493: some man page formatting fixes 2014-03-17 15:11:30 +00:00
Peter Stephenson
6ebb9f6a31 unposted: document effect of 32479 on POSIX_TRAPS 2014-03-14 19:41:18 +00:00
Barton E. Schaefer
ff6d8115ef Merge branch 'master' of git://git.code.sf.net/p/zsh/code 2014-03-03 23:52:20 -08:00
Barton E. Schaefer
e6d99759e8 users/18550: matcher-list documentation clarifications 2014-03-03 23:51:12 -08:00
Oliver Kiddle
7d301a527e 32441: add completer for file extensions 2014-03-03 16:50:14 +01:00
Oliver Kiddle
1f290a3e82 32439: add new show-ambiguity style 2014-03-03 12:08:45 +01:00