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

10378 commits

Author SHA1 Message Date
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
Peter Stephenson
9d434d2357 Fix confusing change log entry for foregoing commit. 2018-01-31 10:20:57 +00:00
Peter Stephenson
2cbf6b6a19 42332: Special case unsigned printf formats.
For constants we can avoid a conversion to signed by examining
the expression before passing to math eval.
2018-01-31 09:14:40 +00:00
Daniel Hahler
f62af4a7ef Add ChangeLog entry for previous commit 2018-01-24 21:56:51 +01:00
Daniel Hahler
2870302afa 42323: _git: move "local" statement out of loop
Fixup for 99cf61fd4.
2018-01-24 21:55:27 +01:00
Peter Stephenson
758966502c 42322 (tweaked): Fix interactive_comments history with just a coment.
Don't discard the line from the history merely because it produced
no synactic words.
2018-01-24 17:40:56 +00:00
Joey Pabalinas
110b13e109 42313: avoid null-pointer deref when using ${(PA)...} on an empty array result 2018-01-23 22:28:08 -08:00
Oliver Kiddle
47430bcd7c 42317: completion option updates for commands that have had recent updates 2018-01-23 11:03:00 +01:00
Oliver Kiddle
aabf978fce 42299: correct optional argument 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
Daniel Tameling
12704997a3 42305: CVS should be git 2018-01-22 09:46:01 +00:00
Barton E. Schaefer
4c8552170e Fix overlapping commits 2018-01-21 09:46:31 -08:00
Mikael Magnusson
5c656716ff 42243: Free stuff properly in zsh/pcre module 2018-01-20 13:33:12 +01:00
dana
0ce5ff2a87 41924: (wi) subscript flag interaction 2018-01-19 23:06:47 -08:00
Barton E. Schaefer
4adb3c9fa7 ChangeLog for abd00402 / 41839 2018-01-19 23:03:04 -08:00
Sebastian Gniazdowski
abd0040253 41839: force IFS to default for "read" 2018-01-19 22:56:11 -08:00
Peter Stephenson
b816291a17 42294: disable REPORTTIME in completion 2018-01-18 09:39:08 +00:00
Warepire
d8d9fee137 42285: off by one fix in multiple prompts 2018-01-16 09:31:16 +00:00
Barton E. Schaefer
de6a293159 42136: empty string check in %~ / %C prompt expansions 2018-01-14 03:15:49 -08:00
Barton E. Schaefer
b476d89fa2 42043: ZSH_DEBUG_CMD should not WARN_CREATE_GLOBAL 2018-01-14 03:07:32 -08:00
Daniel Shahaf
0cfa6da3e8 Fix last commit's ChangeLog. 2018-01-13 19:00:26 +00:00
Barton E. Schaefer
254d8ed8cb unposted: Follow-up to previous: Clarify that ${histchars[1]} may be backslash-escaped even when it isn't '!'. 2018-01-13 18:55:34 +00:00
Daniel Shahaf
ba752d2eb5 42261: docs: Expand documentation of $histchars[1]. Joint with Matthew Martin. 2018-01-13 17:52:59 +00:00
Matthew Martin
ef0aae1c27 42242: add [DFNO]BSD to the mix in ldconfig completion 2018-01-10 23:39:58 +01:00
Peter Stephenson
36fcaeb167 42245: Abort last word on interactve comment.
Last recorded word should be the previous one.
2018-01-08 17:26:33 +00: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
1af28cbfd7 42164: fix digits in format escapes in completion listings 2018-01-04 17:16:18 +00:00
Stephane Chazelas
c2cc8b0fbe Avoid crash copying empty hash table.
Visible with typeset -p.
2018-01-04 17:12:13 +00:00
Sebastian Gniazdowski
1e46f73b8e 42188: Close flock descriptor in failure cases 2018-01-04 17:06:22 +00: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
Maciek Makowski
c789efbaf0 github #21: update nmcli completions to be compatible with recent version 1.8.4 2018-01-04 11:40:03 +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
Matthew Martin
dd824080ca 42117: use anonymous function rather than define one in user namespace 2018-01-03 17:11:00 +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