Daniel Shahaf
385cb9b9f0
40264: _man: Complete all sections after '-a'.
...
Followup to 37634.
2017-01-05 15:58:17 +00:00
Barton E. Schaefer
044fcbabf1
unposted (see users/22287): _comp_options needs to disable ERR_RETURN
2016-12-27 11:14:27 -08:00
Baptiste Daroussin
5a98e318b0
40210: Add support modern FreeBSD and drop support for FreeBSD < 5
2016-12-18 14:55:57 +00:00
Baptiste Daroussin
8ae20a8589
40209: Fix typo in chflags completion
2016-12-18 14:55:56 +00:00
Daniel Shahaf
03bd5e287f
users/22182: Propagate 22161 docs patch to completion descriptions.
2016-12-10 15:04:22 +00:00
Oliver Kiddle
ece90dae42
40114: complete :/ with other parameter operators
2016-12-08 23:52:19 +01: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
Oliver Kiddle
7d80b14702
40053: exclude current directory of active zsh from _external_pwds ompletion matches
2016-12-01 21:45:04 +01:00
Mikael Magnusson
1ba59c4147
unposted: fix previous commit
2016-12-01 03:58:13 +01:00
Mikael Magnusson
989f5e590c
40024: Update _path_files since quoting requirements changed in 39412
2016-12-01 03:42:32 +01:00
Daniel Shahaf
f90200c869
40036: _bts: Complete removal syntaxes correctly.
...
The incumbent pattern matched the minus in 'bts tag 42 - <TAB>' (and other,
similar subcommands).
2016-11-30 16:10:20 +00: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
3a83e481ab
unposted: Complete the $foo[(f)] flag.
2016-11-29 06:41:22 +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
Daniel Shahaf
eccb7471b5
39757 plus test: Fix completion under parenthetical directory names, broken in 39412
2016-11-27 15:12:00 +00:00
Jun-ichi Takimoto
53e6b12bdf
40013: process zsh-specific time format extensions correctly
2016-11-26 16:36:21 +09:00
Oliver Kiddle
a7f5db14b3
40020: new cscope completion
2016-11-25 23:05:54 +01:00
Laurent Arnoud
e34045819d
40018 + 40019: Add missing commands to Debian apt completion
...
Upstream ref
5aba18968d
2016-11-25 17:02:21 +00:00
Oliver Kiddle
5beb65a0f7
unposted: fix typo (=+ to +=)
2016-11-24 16:20:43 +01:00
Oliver Kiddle
8ec1a25994
40004: fix cache mechanism, complete groups and other minor improvements
2016-11-24 16:11:55 +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
Daniel Shahaf
307da989d8
39917: Complete setsid(1) as a precommand
2016-11-17 15:32:04 +00:00
Oliver Kiddle
7d2f805008
39945: allow further tab presses to move on to menu completion even when compstate[insert] is emptied
2016-11-16 09:42:49 +01:00
Paul Seyfert
2ba985fe5b
39920: extend yum completion
...
adding the following yum commands:
* update-to (just what update expands)
* upgrade-to (just what update expands)
* history (the actual tricky one)
* help (printing the available commands)
* load-transaction (_files)
* load-ts (_files)
* check (just what the man page suggested)
* reinstall (just what erase does - suggest installed packages)
* downgrade (just what erase does - suggest installed packages)
* repolist (just what the man page suggested)
* distribution-synchronization (just what erase does - suggest installed packages)
* distro-sync (just what erase does - suggest installed packages)
A few history commands don't get expanded.
Taken from the man page of yum 3.2.29.
Reindented file.
2016-11-12 02:40:49 +01: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
Jun-ichi Takimoto
0921a3537a
39855: new completion for jot command
2016-11-07 19:29:52 +09: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
Barton E. Schaefer
c282abc6bd
Thomas Bereknyei, Mic92: 39831: find "getent" by the usual command search, not just /usr/bin/
...
Also tweak the replacement getent to handle /etc/hosts format.
2016-11-06 00:00:38 -07:00
Oliver Kiddle
5c28031ea6
39834: when print used with -v and -l, include a final newline
...
Also complete print -S option and make further use of the
new printf to an array feature in other completion functions.
2016-11-05 00:31:01 +01:00
Oliver Kiddle
4b41e33cbc
39389: when printf -v is used with an array use separate elements each time the format is reused
2016-11-05 00:27:47 +01:00
Oliver Kiddle
6ea4e708ba
39818: _awk: add nawk to the list of commands
2016-11-04 10:02:33 +09:00
Barton E. Schaefer
ad085f1dec
unposted: fix typo that was causing handling of "--" argument to fail
2016-11-03 09:13:03 -07: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
Barton E. Schaefer
4bc0d13911
39797: obsolete the helper functions fixed by the previous two changes
...
Replacing them with the new ${var:P} modifier.
Previous deltas may be useful for backport to zsh 5.2 and before.
2016-11-01 12:45:24 -07:00
Jun-ichi Takimoto
4eed68e0bf
39731: _awk: add support for gawk ver.3 and 4
2016-11-01 19:21:05 +09:00
Barton E. Schaefer
0a5aea375d
39795: preserve "cd -" behavior around directory shuffling in _canonical_paths_pwd
2016-10-31 14:57:33 -07:00
Barton E. Schaefer
59dbab4f1c
39792: improve handling of relative paths in _canonical_paths_add_paths
2016-10-31 12:14:23 -07:00
Daniel Shahaf
dd8b756610
_git-cherry-pick: Complete argv[2] et seq.
2016-10-29 03:03:28 +00:00