1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-17 15:01:40 +02:00
Commit graph

1740 commits

Author SHA1 Message Date
Marko Myllynen
eacb87988e 41086: Update librt completions 2017-05-22 14:58:49 +01:00
Marko Myllynen
d14686860d 41085: Update OpenStack completions 2017-05-22 14:57:21 +01:00
Oliver Kiddle
4228d98c6b unposted: fix syntax on line end 2017-04-26 16:35:29 +02:00
Oliver Kiddle
78afb218b0 40965: fix for missing local declarations of expl 2017-04-26 16:32:10 +02:00
Jun-ichi Takimoto
d78b02218e 41006: _ls: new optiosns and a few fixes 2017-04-26 13:40:03 +09:00
Daniel Hahler
4fa7c6aecc 40943: __git_recent_commits: prefer recent commit objects
Without this "commit to be amended" shows up before "recent commit object
name" with `git commit --fixup`, but the recent commit objects are the
most useful here.
2017-04-23 22:27:38 +02:00
Alexandre Rames
fc1fedda95 40878: additional stgit squash command completeion 2017-03-24 16:42:51 +00:00
Daniel Shahaf
072e75f9b8 40855: _dmidecode: Fix _arguments syntax error. 2017-03-16 10:42:26 +00:00
Oliver Kiddle
7c662bf4d2 40843: update options for ruby 2.4.0p0 2017-03-14 16:15:33 +01:00
Oliver Kiddle
45d910356a 40842: update completions for coreutils and similar utilities, also improving BSD and Solaris support 2017-03-14 16:13:05 +01:00
Daniel Shahaf
e869952200 40818: _git-checkout: When completing local heads, prefer recently-checked-out ones. (after 38592) 2017-03-14 11:14:14 +00:00
Daniel Shahaf
46233c4020 40817: __git_recent_branches: Retrieve less data, but faster.
By replacing the --grep-reflog=needle argument with a ${(M)...:#needle} filter,
we retrieve less data from the reflog, and consequently run (on my test cases)
16% to 40% faster.  The trade-off is that we retrieve less data: instead of
retrieving the 1000 most recent 'checkout' operations, we retrieve the most
recent 1000 operations, which would include fewer than 1000 checkout operations.

Also change [[:xdigit:]] to [0-9a-f] since it's faster, however, the absolute
gain from this is minor compared to the cost of 'git reflog'.
2017-03-14 11:14:13 +00:00
Wieland Hoffmann
5fa422b246 40837: for pgrep completion, add -w on Linux 2017-03-12 22:35:20 +01:00
John Leuenhagen
5da6621ffe unposted (github pull request #15): fix a small typo in ip corrections file 2017-03-11 08:35:20 +00:00
Oliver Kiddle
f862882f82 40824: grep completion handling of option deviations between different systems 2017-03-10 17:38:31 +01:00
Fabian Klotzl
7276d04934 40808: fix typos where (x,y) should have been (x y) in _arguments syntax 2017-03-09 20:29:27 -08:00
Barton E. Schaefer
9f49864322 40801: re-fix completion of mount points with spaces in the name
Turns out that work of art removed by 33963 was necessary after all
2017-03-09 20:29:27 -08:00
Mikael Magnusson
a8345a40b1 40780: Don't use =~ for simple prefix match 2017-03-07 03:20:05 +01:00
Christoffer Aasted
b8b5f18f3f unposted (via github): complete -Dproperty=/path_complete for ant 2017-03-04 09:31:31 +01:00
Ferenc-
76f2539e20 unposted (via github): Add newer C++ standard options to _gcc 2017-03-04 09:23:11 +01:00
Oliver Kiddle
929fa17a2f unposted: complete 'tiled' layout for tmux 2017-03-04 01:13:43 +01:00
Oliver Kiddle
cae214551b unposted: fix completion argument to xz --format 2017-03-04 01:05:51 +01:00
Oliver Kiddle
76a033e2cc 40715: update completion of git options for git 2.12.0 2017-03-04 00:37:04 +01:00
Oliver Kiddle
4443e021f1 update gphoto2 completion for new options up to gphoto2 2.5.11 2017-02-19 02:22:43 +01:00
Fabian Klotzl
e720f45975 40539: typo in MIPS branch of argument selection 2017-02-13 18:09:10 -08:00
Oliver Kiddle
64c67581d2 40512: new entr completion 2017-02-10 13:56:26 +01:00
Daniel Shahaf
e3bc63f00e unposted: _svn: Fix '--show-revs' completion. 2017-02-08 11:55:03 +00:00
Daniel Shahaf
ec1bdab023 40494: _git: Use slashes matchspec for references (as already used for branch names). 2017-02-07 08:43:31 +00:00
Daniel Shahaf
3afd12ae97 40493/0002: _git-checkout: Reorder default completions.
The unprefixed name of a remote branch is used to create a new local
remote-tracking branch; that is presumed to be a rarer operation than
either switching among local branches or reverting to the index version
of a modified file.

Between the remaining two, put modified files before tree-ishes because
there are generally few of the former and many of the latter.
2017-02-07 08:43:31 +00:00
Daniel Shahaf
4da5c23dce 40493/0001: _git-checkout: No functional change.
This makes the next diff smaller.
2017-02-07 08:43:31 +00:00
Peter Stephenson
e641d8e9c1 40434: Jan Matejek: patchutils completion update 2017-02-06 13:47:40 +00:00
Zhiming Wang
b0073410eb 40450, 40451: Swifth language completion.
Also resolve whether this is the openstack "swift" command.
2017-01-29 16:36:24 +00:00
Zach Whaley
ea7b4d4b2d 40200: Updated Perforce completion 2017-01-27 18:05:05 +00:00
Earnestly
51c5c85c23 40355: _mpc: improve playlist completion 2017-01-13 20:56:47 -05:00
Daniel Shahaf
ebcc57210d 40302: New _swaks completion (common options only). 2017-01-10 03:37:34 +00:00
Daniel Shahaf
385cb9b9f0 40264: _man: Complete all sections after '-a'.
Followup to 37634.
2017-01-05 15:58:17 +00:00
Baptiste Daroussin
5a98e318b0 40210: Add support modern FreeBSD and drop support for FreeBSD < 5 2016-12-18 14:55:57 +00:00
Mikael Magnusson
a43e6e2db4 40107: _mount, _fusermount: fix quoting 2016-12-06 21:15:14 +01:00
Oliver Kiddle
f65283e1ad 40055: update git completion for git 2.11.0 2016-12-01 21:50:47 +01:00
Eitan Adler
110ffae9fe 40035: Cosmetic fixes for comments and documentation.
Mostly fixes to doubled words.
2016-11-29 17:13:52 +00:00
Daniel Shahaf
a74294edbe unposted: _git-config: Fix user.email completion to complete only bare email addresses. 2016-11-29 06:41:21 +00:00
Daniel Shahaf
1955cceec7 40011: Make $_comp_priv_prefix only declared when required, and use that to have chgrp offer all groups under doas, ssh, etc as well. 2016-11-28 07:16:39 +00:00
Oliver Kiddle
a7f5db14b3 40020: new cscope completion 2016-11-25 23:05:54 +01:00
Oliver Kiddle
5beb65a0f7 unposted: fix typo (=+ to +=) 2016-11-24 16:20:43 +01:00
Jun-ichi Takimoto
fe2d87767d 40005: call _date_formats from _date
also update both files for darwin etc.
2016-11-24 21:33:15 +09:00
Oliver Kiddle
fe67ccacf1 39974: complete shared libraries for -e and -s options to ssh-add 2016-11-20 23:59:35 +01:00
Daniel Shahaf
df8d219da3 39916 + 39930 + tweak: _git: Complete options and values for -c.
The "$@" in the option-names call is added in order to propagate the new (-S =) arguments.

This bifurcates _git-config() in order to provide completion for

    % git -c <TAB>
    % git -c foo=<TAB>
2016-11-18 02:11:05 +00:00
Daniel Shahaf
297471cf77 39921: __git_recent_branches: Remove erroneous parsing of partial ref names as tags.
In the reflog, partial ref names in the "from" field always represent names of
heads.  (That is not true for the "to" field.)  The parsing of tag names was
added in commit 39102 (317c96b64f) for equivalence
with the then-previous implementation which used `git log $partial_ref_name`.
The equivalence was correct, however, the then-previous implementation was not,
since it would consider $partial_ref_name as a refs/tags/ name if a refs/heads/
name did not exist.
2016-11-17 15:32:05 +00:00
Daniel Shahaf
d7b57cc957 39922: __git_recent_branches: Fix an 'assertion' failure when two branches (refs) point to the same commit. 2016-11-17 15:32:04 +00:00
Oliver Kiddle
370b278565 39890: typo corrections in completion functions 2016-11-09 16:55:14 +01:00