1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-05 23:11:11 +02:00
Commit graph

1711 commits

Author SHA1 Message Date
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
Oliver Kiddle
496626ddb8 39888: update tmux completion for tmux 2.3 2016-11-09 16:55:14 +01:00
Daniel Shahaf
d8786da0cd 39853: _subversion: Accept long options in the '--foo=bar' syntax. 2016-11-09 04:06:23 +00:00
Jun-ichi Takimoto
dfb2f3f3d2 39857: add support for darwin, with improvements on linux etc. 2016-11-08 21:49:33 +09:00
Peter Stephenson
5411cdf378 39856: module completion improvements.
Follow symbolic links when finding.

Use _multi_parts for paths when completing modules.
2016-11-07 14:49:00 +00:00
Daniel Shahaf
bb28726fa5 39840: _cpio: Declare variable's type correctly. 2016-11-07 05:21:19 +00:00
Frank Terbeck
06bd2b1c85 39849: _tmux: Remove set-remain-on exit
This was removed recently, since it was superseded by hooks.
2016-11-07 00:04:07 +01:00
Frank Terbeck
c2649189cb 39848: _tmux: Update options to latest tmux 2016-11-06 23:18:28 +01:00
Oliver Kiddle
6ea4e708ba 39818: _awk: add nawk to the list of commands 2016-11-04 10:02:33 +09:00
Daniel Hahler
d90775fc29 39822: _git: remove "-A '-*'" with _arguments for some commands
With e.g. `git rebase origin/master` you can have options like
`--no-autosquash` after the argument.

I have tried the commands where this patch removes `-A`.
Commands like `git fetch-pack` that do not support options after
arguments are left unchanged.
2016-11-03 16:41:42 +01:00
Jun-ichi Takimoto
4eed68e0bf 39731: _awk: add support for gawk ver.3 and 4 2016-11-01 19:21:05 +09:00
Daniel Shahaf
dd8b756610 _git-cherry-pick: Complete argv[2] et seq. 2016-10-29 03:03:28 +00:00
Daniel Shahaf
85ffb55e99 39739: Complete negative integers for -n/-c in the GNU variant. (after 39479) 2016-10-27 15:59:43 +00:00
Daniel Shahaf
ecc0a5ece2 39654: (based on patch by Baptiste Daroussin) Better support bmake, FreeBSD's default make(1) implementation.
Don't pass gmake options to bmake.

Add bmake-speciic codepath for completing targets and parsing the makefile.
2016-10-18 01:39:45 +00:00
Oliver Kiddle
87965e5e02 39624: remove space before compdef that prevents yafc completion function being used plus other tweaks 2016-10-14 11:39:14 +02:00
Matthew Martin
c40226022a 39533: add the new -L option, sort options and add some exclusions 2016-10-13 09:56:57 +02:00
Daniel Shahaf
7ad0001183 39479 + 39481 minus _path_files hunk (see 39489): Completion: audit 'compset -P' calls to use shortest match where applicable, plus random drive-by tweaks.
Found by grepping for patterns that can match needles of various lengths:

    :grep 'compset -[PS].*[\#^*()\|<>?~\]' Completion/
2016-10-07 13:56:31 +00:00
Oliver Kiddle
13d0b278be 39514: pass on --git-dir when calling git to get completion matches 2016-09-30 09:57:50 +02:00
Oliver Kiddle
573895dd60 39513: new doas completion 2016-09-30 09:57:33 +02:00
Marko Myllynen
89e319f345 39453: new openstack completions 2016-09-27 21:37:32 +02:00
Daniel Shahaf
7ecc3f8b4e 39410: Fix unintentional history modifiers. 2016-09-22 21:02:45 +00:00
Adam Gibbins
4e51079f0b unposted: _gpg: Correct typo
Received via github (pull request #9).
2016-09-22 11:20:41 +00:00
Daniel Shahaf
d523ddaba2 unposted: _postfix: Correct quoting in _call_program invocations.
Fixes completion when the command name ('postconf') or the argument to
the -c option ('/etc/postfix') are quoted on the command line, as in

    % postconf -c '/etc/postfix' ... <TAB>
2016-09-16 04:02:12 +00:00
Daniel Shahaf
6914fb298d 39312 (tweaked): _postfix (postconf): Complete only applicable parameters for -X and -#.
Unposted tweak: change the tag and description in the _describe call.
2016-09-16 03:58:02 +00:00
Daniel Shahaf
00210c09db 39311: _tmux-capture-pane: Tweak specifications of -S/-E and description strings. 2016-09-16 03:46:18 +00: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
Marko Myllynen
be4c072cf5 unposted: _libvirt: Add another noglob. (Follow-up to 39199) 2016-09-14 07:58:43 +00:00
Daniel Shahaf
420cde9158 39199: _libvirt: Support libvirt URLs that contain a literal question mark under noglob.
E.g.,

    % noglob virsh -c qemu:///system? start <TAB>

Conflicts with 39261 resolved.
2016-09-14 07:10:04 +00:00
Daniel Shahaf
ec0c788709 unposted: _git: Permit multiple -c options. 2016-09-14 05:27:26 +00:00
Oliver Kiddle
ca53a3a464 39307: update options up to vim 8 2016-09-13 17:47:35 +02:00