1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00
Commit graph

2086 commits

Author SHA1 Message Date
Daniel Hahler
1142e2dedb 42364: _git: fix __git_ignore_line to ignore the current word
Before this patch "git branch -d master<tab>" would result in
"no matches found", while "master" itself should get completed here.

The "(bQ)" (added in 527badc23, via 38129?!) does not seem to be necessary
anymore: with files "f\[a-z\]o" and "foo", "git add f[a-z]o <tab>"
offers "f\[a-z\]o", but not "foo".
2018-02-22 23:41:13 +01:00
Daniel Hahler
2bf952b102 42324: _git: handle mutually exclusive options
Currently `git show --stat -p` is not considered a valid completion and
prevents further completions like `--no-abbrev`.

It is a valid use case however to use `--stat` with `-p` (and there is a
synonym `--patch-with-stat` for it even).

This patch changes `__git_setup_diff_options` to only handle mutually
exclusive arguments reported by Git (as a fatal error) in a special way.
2018-02-12 10:12:22 +01:00
Daniel Hahler
c18fe510f4 42327: _make: complete _files
The use case is completing files that are actual targets, generated
using $(wildcard …).

Q: Could this be made to only complete files if make targets and vars
are empty?
2018-02-11 20:09:30 +01:00
Daniel Shahaf
5677339062 unposted: _subversion: Support subcommands with hyphens in their names, such as 'shelf-list (shelves)' from upstream 1.10 development versions. 2018-02-08 15:12:59 +00:00
Christian Hesse
dd8e55c46b 42333: git 2.16.0 no longer accepts an empty string as a pathspec element so replace empty strings with a dot 2018-02-08 00:49:46 +01:00
Matthew Martin
0236d9c5f1 42330: ln -L and -P are POSIX, but not supported by Darwin or NetBSD 2018-02-08 00:37:26 +01:00
WGH
0c324124d0 42336: force single column output when getting filenames with adb ls command 2018-02-07 20:52:28 +01:00
Oliver Kiddle
ffacc95766 42343: complete --config-option to svn more than once 2018-02-07 20:47:30 +01:00
Daniel Hahler
2870302afa 42323: _git: move "local" statement out of loop
Fixup for 99cf61fd4.
2018-01-24 21:55:27 +01:00
Oliver Kiddle
47430bcd7c 42317: completion option updates for commands that have had recent updates 2018-01-23 11:03:00 +01:00
Matthew Martin
b5572f9037 42309: A few small updates for OpenBSD 2018-01-23 11:02:56 +01:00
Matthew Martin
ef0aae1c27 42242: add [DFNO]BSD to the mix in ldconfig completion 2018-01-10 23:39:58 +01:00
dana
0f0b602415 42231: new completion functions for simple utilities belonging to the 'Darwin' and 'Linux' groups. 2018-01-06 00:13:51 +01:00
Oliver Kiddle
0c5f851021 42230: update screen completion to 4.06.01 2018-01-05 17:27:28 +01:00
Oliver Kiddle
ef1f9e1978 42229: update completion of GNU programs for coreutils 8.29 / gawk 4.2.0 2018-01-05 17:17:47 +01:00
dana
ae059841b0 42223: new completions for sublime text and some basic Unix utilities 2018-01-05 15:29:17 +01:00
Oliver Kiddle
48f01128be 42221: update enscript completion for GNU enscript 1.6.6 2018-01-05 14:30:02 +01:00
dana
c8e2f3c3d8 42222: _object_files: recognize .dylib (macOS) 2018-01-05 10:06:50 +09:00
dana
21a09a1418 42214: use less general names on new functions for completing file flags and modes 2018-01-04 11:50:50 +01:00
dana
1c4e7601c4 42210: factor out completion of file modes and flags and handle _comp_priv_prefix for chflags 2018-01-04 00:16:43 +01:00
dana
5f68531b5d 42209: take account of numeric options such as -4 instead of -t4 2018-01-04 00:05:59 +01:00
dana
9f8ed99146 42209: fix option descriptions for non-GNU variants of tr 2018-01-04 00:01:58 +01:00
Oliver Kiddle
f7a5211f38 42208: fix use of cache variables in yp completion 2018-01-03 18:39:55 +01:00
dana
d81bfa0141 42207: support g prefixes for GNU variants on systems like macOS+Homebrew 2018-01-03 17:27:23 +01:00
Eric Cook
99cf61fd42 42171: prevent parameters of various parameters from becoming global 2018-01-02 14:38:03 -05:00
Jun-ichi Takimoto
3c24adb2ed 42183: _objdump: support LLVM variant 2017-12-31 10:11:59 +09:00
Jun-ichi Takimoto
d303dfa7f5 42175 + 42177 + 42178: avoid localized output from external commands
_call_program and '_arguments --' will call _comp_locale before
calling external command for easier analysis of the output.
This is disabled by passing an option '-l'.
2017-12-28 11:35:34 +09:00
Jun-ichi Takimoto
24152f766f 42176: _tar: update long options 2017-12-27 09:44:53 +09:00
dana
349c95765a dana: various OpenSSH completion improvements 2017-12-22 19:58:24 +00:00
Daniel Shahaf
a254c1815a 42138: _git-revert: Complete recent commits first. 2017-12-20 04:13:39 +00:00
Jun-ichi Takimoto
972cf4197e * 42143: fix a pattern in _object_files 2017-12-20 00:49:26 +09:00
Oliver Kiddle
09939216d4 42019: update options in git completion to 2.15
also improve format completion for git tag and for-each-ref
2017-11-13 21:47:29 +01:00
Oliver Kiddle
d0b2549ba8 gitlab #1: update options for sqlite 3.21.0 2017-11-13 21:26:37 +01:00
Daniel Shahaf
5498e0cb9e 41969: _sort: Clarify option description. 2017-11-03 20:40:05 +00:00
Oliver Kiddle
0ebf336489 41971: correctly break out of certain tag loops when there are matches 2017-11-02 21:36:55 +01:00
Oliver Kiddle
aaa001e534 41963: update completion for gnutls 3.6.1 2017-10-31 00:51:42 +01:00
Oliver Kiddle
08e865ed90 41961: new ansible completion 2017-10-29 13:45:41 +01:00
Oliver Kiddle
01523f4145 41958: update util-linux completions to 2.31; new hexdump completion 2017-10-29 13:42:53 +01:00
Oliver Kiddle
85e56b5a48 41957: update git completion for git 2.14.3 2017-10-29 00:07:22 +02:00
Christian Brabandt
373538442b 41943: Completion: add --clean for vim
Vim since patchlevel 8.0.0716 includes the --clean argument for starting
in a clean mode (only loading defaults.vim and in non-cp mode).
2017-10-20 22:20:28 +02:00
Daniel Shahaf
7c36add497 41833 + 41838: _jq: New completion. 2017-10-13 17:51:29 +00:00
Oliver Kiddle
61b544a068 41855: completion option updates for OpenBSD 6.2 and handle macOS in rm completion 2017-10-11 01:24:01 +02:00
Oliver Kiddle
a8c2b90810 41854: also complete options for ping on Solaris, Mac OS, NetBSD and OpenBSD and for ping6 2017-10-11 01:23:59 +02:00
Oliver Kiddle
ea7178a624 41853: update options for texinfo 6.5 and complete also for the pinfo info reader 2017-10-11 01:23:57 +02:00
Oliver Kiddle
1a3a07a35f 41849: handle both unexpand and expand in a single function
They have some commonalities and using _unexpand dodges around
the clash with the _expand completer.
2017-10-11 01:23:56 +02:00
Oliver Kiddle
04a7dca3b0 41831: fix compset usage in ogg123 completion and tweak where compset -p is a better choice than -P 2017-10-11 01:23:53 +02:00
Peter Stephenson
aeed51fdfc unposted: rename _expand command completion to avoid clash with completer 2017-10-10 10:01:01 +01:00
Oliver Kiddle
69fcc22dc8 41823: new completions for some GNU coreutils utilities 2017-10-07 22:26:51 +02:00
Noah Pendleton
63271a4b93 41808: _git-cherry-pick: Typo fixes 2017-10-04 22:07:23 +00:00
Oliver Kiddle
8ddadb8afe update mtr completion through mtr 0.92 2017-09-22 18:45:32 +02:00