1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-19 23:41:31 +01:00
Commit graph

1524 commits

Author SHA1 Message Date
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