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

3396 commits

Author SHA1 Message Date
Oliver Kiddle
b230e6d11d 35789: (tweaked c.f. Bart: 35791): duplicate glob qualifier handling from _path_files so it is called once and not for each file pattern 2015-07-14 12:48:37 +02:00
Oliver Kiddle
81bfb1a327 35756: use the actual colours in the completion list for terminal colours 2015-07-14 00:30:44 +02:00
Oliver Kiddle
778db04511 35774: fix double formatting of date explanation message 2015-07-14 00:30:43 +02:00
Daniel Hahler
8024de798d 35779: completion: _git-config: remove extraneous "local expl"
It is defined at the beginning of the function already, and results in
the output of `expl=''` when completing after `git config
branch.local.pushremote ` etc.
2015-07-13 15:05:52 +02:00
Oliver Kiddle
5951ac13ed 35748: fixes to prompt spec completion where it contains date formats 2015-07-09 14:58:06 +02:00
Oliver Kiddle
bada2f9a21 35749: (c.f. Jun T: 35732): fix exclusion list for flags/modifiers 2015-07-09 14:53:36 +02:00
Oliver Kiddle
5c5654016b 35729: new compadd completion 2015-07-08 12:16:32 +02:00
Matthew Martin
39bc7a212f 35727: support OpenBSD for diff options 2015-07-08 11:45:04 +02:00
Oliver Kiddle
1b4bdcdf3e 35700: complete OS specific date format specifiers and put % in a prefix 2015-07-07 23:06:01 +02:00
Oliver Kiddle
396f68971f 35718: new calendar style date completion 2015-07-07 22:59:00 +02:00
Mikael Magnusson
0b946c18ea 35697: _ps1234, _date_formats: Complete strftime formats for %D{} 2015-07-06 16:21:22 +02:00
Mikael Magnusson
b28ccc4270 35696: _ps1234: complete colors for %F{ and %K{ 2015-07-06 16:21:04 +02:00
Mikael Magnusson
439764a43f 35673: Improve _zargs 2015-07-03 14:20:32 +02:00
Peter Stephenson
96fa41a7c8 35663: zpool completion fix needed after completion change 2015-07-02 16:25:59 +01:00
Peter Stephenson
b7aecf6c8e Don't require MULTI_FUNCDEF in _main_complete.
Although it gets set there, _main_complete is parsed to the end first.
2015-06-27 17:50:57 +01:00
Peter Stephenson
a68d22eb00 35573: turn off POSIX_BUILTINS in completion.
This is now needed to get suitable OPTIND behaviour.
2015-06-23 12:02:06 +01:00
Oliver Kiddle
fbc64894cc 35568: use symlinks in /proc/$$/path on Solaris and procstat on FreeBSD 2015-06-23 03:30:06 +02:00
Oliver Kiddle
bf098bc29e 35529: fix filename completion after java -jar 2015-06-23 03:24:49 +02:00
Oliver Kiddle
dd78520897 35531: fallback on file completion 2015-06-19 20:00:51 +02:00
Oliver Kiddle
b2de9b518e 35527: use list-separator style in cases where separator was hardcoded 2015-06-19 19:54:44 +02:00
Oliver Kiddle
aea461e542 35528: allow for IPREFIX 2015-06-19 19:46:01 +02:00
Oliver Kiddle
deb2ec7f17 35510: use consistent formatting for git subcommands 2015-06-18 23:50:59 +02:00
Oliver Kiddle
8ebb4e65a9 35504: complete % placeholders for git log --format 2015-06-18 23:47:40 +02:00
Oliver Kiddle
2c301822ca 35521: sort matches numerically and use pfiles on Solaris 2015-06-18 23:42:51 +02:00
Eric Cook
2e1bb72c07 35490: silence errors and avoid blank match due to missing local 2015-06-18 22:41:47 +02:00
Mikael Magnusson
54c2c442ee _gdb: Allow 'core' to occur anywhere in a coredump filename 2015-06-17 01:45:18 +02:00
Barton E. Schaefer
806f73a0b3 35467: complete files for non-GNU du 2015-06-14 20:10:50 -07:00
Daniel Hahler
e8cf611879 35216: _git-checkout: do not call __git_commits twice
This makes `branch_arg` empty by default, to be used only for
__git_remote_branch_names.

`branches::__git_revisions` was used here, but that's the same as
tree_ish_arg='tree-ishs::__git_tree_ishs' - both call __git_commits.

Only tree_ish_arg will call __git-commits now.
2015-06-08 00:35:01 +02:00
Barton E. Schaefer
a253ada08b 35163: move "show-ambiguity" style to _setup so that more precise context can be applied 2015-06-06 12:35:52 -07:00
Barton E. Schaefer
229bc3cc74 35350: extend "fc -I" to cover listing of "internal" history events only 2015-06-06 12:31:47 -07:00
Peter Stephenson
6b4d6eaa9b users/20243: turn off GLOB_ASSIGN in completion system. 2015-06-02 14:43:08 +01:00
Daniel Shahaf
ce9d3fd7b7 35270: _describe: Document a known issue described in 35229
(which is the same thread as 35127 and 34768)
2015-06-02 10:13:50 +00:00
Daniel Shahaf
83ac36c14f 35271: New completion: beep.
The new completion is mostly boilerplate except for the handling of
$words/$CURRENT to support specifying the arguments multiple times
separated by -n.
2015-06-02 10:09:01 +00:00
Oliver Kiddle
52cace8056 35356: factor out completion of tty devices 2015-06-02 00:52:11 +02:00
Oliver Kiddle
72ecc2ef36 Adrien Vergé: 35352: completion for new Redhat package manager 2015-06-02 00:49:09 +02:00
Oliver Kiddle
4c2a62fe86 35310 (plus undo 35268 (git 899613f)): fix quoting of cached arrays
Also add file name reference to ChangeLog entry from rev 899613f.
2015-05-30 11:14:48 -07:00
Daniel Hahler
da603d0a00 35098: completion: git: provide --amend also with "message" group
Especially during a git rebase, you would use `git commit -m foo
--amend`.
2015-05-29 01:56:18 +02:00
Oliver Kiddle
a711b2abef 35315: replace inappropriate uses of _path_commands 2015-05-28 22:45:34 +02:00
Daniel Hahler
0c8d21adc2 35293: fix zstyle lookup with _php: use trailing colon 2015-05-27 19:39:17 +02:00
Daniel Hahler
6925e2b298 35286: fix zstyle lookups with _baz and _tla
Add trailing colons to context being used with `zstyle -s`.
2015-05-27 19:38:05 +02:00
Peter Stephenson
899613f535 c.f. 35268: revert completion cache optimisation for now 2015-05-26 10:00:46 +01:00
Eric Cook
d2f0b3ccb2 35292: yum install complets local files 2015-05-26 09:43:12 +01:00
Daniel Hahler
068558616a 35261: completion: git: __git_recent_commits: local ret
Without this, `ret` will be set to 1 with `git diff --ex<tab>` and
result in duplicate entries:

   % git diff --ex<tab>
    -- option --
   --exit-code    -- report exit code 1 if differences, 0 otherwise
   --exit-code  -- report exit code 1 if differences, 0 otherwise
   --ext-diff     -- allow external diff helper to be executed
   --ext-diff   -- allow external diff helper to be executed
   --no-ext-diff  -- disallow external diff helper to be executed
    -- recent commit object name --
2015-05-22 01:12:10 +02:00
İsmail Dönmez
9584c76fb7 35232: matching parentheses 2015-05-20 13:53:36 +01:00
Daniel Shahaf
c174947040 35224: completion: git: Add fast-export --signed-tags=warn-strip 2015-05-19 20:35:14 +00:00
Daniel Hahler
a0d269460a 35217: add missing changelog entry; use "-O expl" with _alternative 2015-05-19 10:43:24 +02:00
Daniel Hahler
7408f91d31 35217: completion: git: send-email: complete (recent) commits
This adds `__git_commit_objects_prefer_recent` as alternative for
git-send-email's completion.
2015-05-19 10:28:51 +02:00
Daniel Hahler
8f6823b710 __git_commit_objects: do not use _guard, but only a pattern
With using `_guard` there like it's been done, the completion could not
be selected, probably because of the call to `_message` therein.

This changes it to use only the logic/check from `_guard` that we want
here.
2015-05-19 08:50:42 +02:00
Daniel Hahler
ed3e5f521d Completion/Unix/Command/_git: remove -2 with __git_recent_commits
Remove "-2" for _describe in __git_recent_commits.

This fixes the duplicate entries issue, because __git_recent_commits
gets called twice for _git-checkout (for __git_revisions and
__git_tree_ishs):

1. __git_commit_objects_prefer_recent _alternative __git_commits
   __git_revisions _alternative _git-checkout
2. __git_commit_objects_prefer_recent _alternative __git_commits
   __git_tree_ishs _alternative _git-checkout
2015-05-19 07:49:48 +02:00
Daniel Hahler
d0057538d3 35204: fix broken __git_recent_commits from previous commit
This fixes 1e7bb4a: newlines need to be kept (from the "%d" part).
2015-05-19 06:38:43 +02:00