1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 22:51:42 +02:00
Commit graph

9621 commits

Author SHA1 Message Date
Andy Spencer
f3ef00b152 38982: move cpupower completion to correct folder 2016-08-01 10:53:51 +01:00
Andy Spencer
cb26725d40 38976: new cpupower completion 2016-08-01 09:25:02 +01:00
Daniel Shahaf
f9b1703511 38971: Start using the new arrlen_ge() / arrlen_le() helpers. 2016-08-01 08:01:29 +00:00
Daniel Shahaf
1a368bf31f 38973: Optimize indexing array parameters.
% () { for 1 in $prefix/zsh/bin/zsh Src/zsh; do $1 -f -c 'a=( {1..1000000} ); repeat 3 time ( repeat 300 : $a[1]  )'; done }
( repeat 300; do; : $a[1]; done; )  1.68s user 0.01s system 98% cpu 1.718 total
( repeat 300; do; : $a[1]; done; )  1.69s user 0.01s system 99% cpu 1.710 total
( repeat 300; do; : $a[1]; done; )  1.69s user 0.01s system 99% cpu 1.714 total

( repeat 300; do; : $a[1]; done; )  0.00s user 0.01s system 72% cpu 0.022 total
( repeat 300; do; : $a[1]; done; )  0.00s user 0.01s system 72% cpu 0.022 total
( repeat 300; do; : $a[1]; done; )  0.01s user 0.01s system 69% cpu 0.023 total
2016-08-01 08:01:28 +00:00
Daniel Shahaf
faa163cd5f 38964: _git-config: Complete option names present in the config file.
This patch lets
.
    git config x.y.z value
    git config <TAB>
.
complete 'x.y.z', even if x.y.z isn't hardcoded into _git-config.
2016-08-01 08:01:27 +00:00
Daniel Shahaf
b056d8c909 38963: _git-config: Run gettable-options earlier and in all codepaths.
No change to completions; this is preparation for the next commit.
2016-08-01 08:01:26 +00:00
Daniel Shahaf
0782e0a0a6 38961: _git-config: No functional change: rename $git_options_static to $git_options in preparation for the after-next commit. 2016-08-01 08:01:24 +00:00
Daniel Shahaf
9ef02744dd unposted: _git: Clean up superfluous and missing backslashes. 2016-07-31 16:21:33 +00:00
Daniel Shahaf
a3b5389641 38967: _hosts: Don't complete wildcard entries from ~/.ssh/known_hosts. 2016-07-31 16:21:32 +00:00
Daniel Shahaf
625fe0fce8 38966: _svnadmin: Complete positional arguments for 'hotcopy', 'setlog', 'setrevprop', 'delrevprop'. 2016-07-31 16:21:31 +00:00
Daniel Shahaf
eaaac9c89f 38965: _svnadmin: Complete 'freeze' as a precommand. 2016-07-31 16:21:29 +00:00
Daniel Shahaf
774f654e36 38962: _git-config: Document more line noise. 2016-07-31 16:21:28 +00:00
Daniel Shahaf
8d71a610af 38959: Document 38956 (_widgets). 2016-07-31 16:21:27 +00:00
Daniel Shahaf
0389fc3a7f unposted: _svnadmin: Tweak state description. 2016-07-29 17:01:22 +00:00
Daniel Shahaf
8d7b9d013d 38927: zle-line-pre-redraw: Set $WIDGET like other special widgets do. 2016-07-28 18:12:19 +00:00
Daniel Shahaf
8e029323a7 unposted: Avoid $0 for POSIX_ARGZERO compatibility. 2016-07-28 18:07:57 +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
Oliver Kiddle
54d5f8e363 38956: factor out zle widget completion into its own function 2016-07-28 16:12:59 +02:00
Oliver Kiddle
7830a8c498 unposted: fix vi-pipe for visual mode: don't need to force line mode 2016-07-28 16:07:59 +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
895e9beb29 users/21793: Remove raw integers as glob qualifiers.
There was an ancient undocumented feature that these were treated
as a file mode to "or" with that of the file under test.  The
only documented way of doing this has always been the "f" qualifier,
so removed the effect of raw integers to make errors more obvious.
2016-07-28 09:51:19 +01:00
Daniel Shahaf
74722c7392 unposted: Prefix function's name to its error messages. 2016-07-27 14:04:45 +00:00
Daniel Shahaf
8e06a6a28a unposted (after 38939): _git-rebase: Unbreak. 2016-07-27 14:04:40 +00:00
Daniel Shahaf
d5e7987408 38914 (tweaked): _pkg-config: Add options, complete *.pc files for positional arguments. 2016-07-27 14:04:15 +00:00
Peter Stephenson
bdf0a3df38 38945: Additional notes on :a behaviour 2016-07-26 09:35:14 +01:00
Oliver Kiddle
fd144877f5 38943: update texinfo options and improve completion of Info files, nodes and menu items 2016-07-25 00:12:43 +02:00
Oliver Kiddle
4f5cc54560 38939: add missing git options
In particular those for GPG signing a push
2016-07-25 00:06:57 +02:00
Oliver Kiddle
ac05343049 38936: fix vi-pipe function for option compatibility 2016-07-24 22:33:14 +02:00
Oliver Kiddle
932ff2b6f8 38929: new vim style text object using match-words-by-style mechanism 2016-07-24 22:18:34 +02:00
Matthew Martin
dfd8b1da4f 38935: update tcpdump completion for Free and Open BSD 2016-07-24 22:14:27 +02:00
Daniel Shahaf
3afaebd913 unposted: _git-grep: Stop leaking the parameter $i. 2016-07-23 18:02:29 +00:00
Daniel Shahaf
0f4cfc2597 unposted: _deb_packages: Minor optimization. 2016-07-23 18:02:28 +00:00
Daniel Shahaf
8e69dd54b7 38913: _pkg-config: Complete variables for --variable. 2016-07-23 18:02:26 +00:00
Daniel Shahaf
73ff356d7b 38911: _arguments: Clarify documentation of '-s -w' switch 2016-07-23 18:02:23 +00:00
Barton E. Schaefer
b7bb60b47e 38923: zwaitjob() continues waiting for children that may have ignored the interrupt signal, even if the current shell has been interrupted. 2016-07-23 10:27:59 -07:00
Daniel Shahaf
00f18f29de users/21779: Clarify documentation of the ':a' word modifier. 2016-07-22 06:25:43 +00:00
Daniel Shahaf
5c7d92bd9c 38890: _add-zle-hook-widget: New completion. 2016-07-22 06:23:39 +00:00
Oliver Kiddle
82119d8d17 38904: fix return status in _normal and functions erroneously using it for default completion 2016-07-21 17:49:13 +02:00
Marko Myllynen
f117edfabe 38894: completion for virt-admin and libvirt client/server IDs/names 2016-07-21 17:38:48 +02:00
Felipe Sateler
02f03a6aed 38901: _schroot: Add -r/--run-session 2016-07-21 07:18:50 +00:00
Peter Stephenson
317494e998 38853: use strchr() 2016-07-20 09:45:37 +01:00
Daniel Shahaf
6e966f691d users/21777: Clarify documentation of the ':A' word modifier. 2016-07-20 07:00:29 +00:00
Jun-ichi Takimoto
fff0080400 38862: strptime(3) requires _XOPEN_SOURCE on Cygwin 2016-07-19 14:54:59 +09:00
Peter Stephenson
72e5fe7aab 38879: Unmetafy file names for glob sort.
Test using Polish UTF-8 collation sequence that'w known to
cause the problems.
2016-07-18 16:57:38 +01:00
Mikael Magnusson
bd707b4787 _print: add -v 2016-07-18 00:44:52 +02:00
Barton E. Schaefer
b3dba0f7c1 Relocate add-zle-hook-widget, everything else in Functions/Zle is a widget. 2016-07-17 12:07:43 -07: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
Daniel Shahaf
db9f0d3b3e unposted (cf. users/21737):: _git-subtree: Record technical debt in comment. 2016-07-17 14:55:35 +00:00
Daniel Shahaf
d09cb7e979 users/21750 (after users/21551): _git-subtree: Tweak -m,-P completions 2016-07-17 14:53:12 +00:00