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

3056 commits

Author SHA1 Message Date
Yuusuke Yoshimoto
2799e42bdd suppress stderr when listing java classes to complete 2013-08-04 18:58:20 +01:00
Thomas Klausner
a175e05166 mplayer supports .ts (transport stream) files 2013-08-01 09:50:47 +01:00
Jun T
c5d9abc6c8 31756: further make completion improvements.
ake care of mutually exclusive options.
Add _description using $state_descr.
Add completions for --debug=flag.
Fix typo (pointed out by Daniel Shahaf).
2013-07-25 09:47:47 +01:00
Richard Hartmann
673760876c 31572: Completion/Debian/Command/_linda: Deleted 2013-07-24 22:04:02 +02:00
Richard Hartmann
f9851d817f 31571: Completion/Unix/Command/_vcsh: Update 2013-07-24 22:03:55 +02:00
Eric Cook
4e3f838269 31558: name of qemu executable changed in completion. 2013-07-22 19:03:54 +01:00
Peter Stephenson
9a192dddd2 c.f. 31531: complete xcf files for image manipulation packages 2013-07-19 19:30:27 +01:00
Jun T
29256a7c96 31525: Fix some options in _make 2013-07-17 19:27:20 +01:00
Nick Cross
a71b8df9b2 Update make completion with gnu options 2013-07-12 09:37:36 +01:00
Peter Stephenson
7e17ea8016 users/17856: rewrite _make to use _arguments.
No new option handling yet, but this should make it easier to add.
2013-07-11 11:14:38 +01:00
Clint Adams
96c8b2832b 31500: Completion/Debian/Command/_dput: dput-ng completion support from Sebastian Ramacher. 2013-06-28 15:15:06 -04:00
Clint Adams
758d0a605b 31499: dcut completion from Sebastian Ramacher. 2013-06-28 14:51:48 -04:00
Clint Adams
25c7763067 31xxx: Completion/Debian/Command/_dak: complete files for subcommands that are not explicitly specified. 2013-06-28 14:36:04 -04:00
Peter Stephenson
347a63da0c 31465: fix basic completion and globbing uses of disabled patterns 2013-06-13 18:40:36 +01:00
Barton E. Schaefer
8a35ec4eef 31205: Do not display "(eval)" as a tag context 2013-06-10 00:18:52 -07:00
Peter Stephenson
95c044372a 31433: zcat -f doesn't need suffix .gz 2013-05-29 19:21:34 +01:00
Peter Stephenson
aa7467b0bf Improve Perforce jobs completion to limit
potentially huge output using jobview by default;
fix quoting of arguments passed on to eval within _call_program.
2013-05-14 14:25:14 +01:00
Richard Hartmann
bb6e894f27 Add .ogv to mplayer completion 2013-05-10 10:03:12 +01:00
Kenyon Ralph
3d6d6136e2 31371: _brctl: update brctl subcommands
Add hairpin and showstp. These are available since at least
bridge-utils 1.5.
2013-05-05 11:10:46 +02:00
Peter Stephenson
60e41f9fc8 31369: set locale for completion if locale command is not usable 2013-05-04 16:07:34 +01:00
Jun T
cbf6f144a9 31357: _cp: add support for Mac OS X
If not GNU nor darwin, assume POSIX.
2013-04-29 17:11:05 +02:00
Peter Stephenson
8ab3a7b0e6 31356: typo in new _comp_locale noted by Bart 2013-04-29 15:07:30 +01:00
Peter Stephenson
8cdb57b3b7 31355: _comp_locale tries to sanitise locales but keep CTYPE;
use this for subversion completion.
2013-04-29 10:08:07 +01:00
Ramkumar Ramachandra
2ea9cd4775 31288: _git: fix shortlog completer
Currently, __git-shortlog () says that 'git shortlog' can only accept
commits as arguments (probably because the official documentation says
this).  This is entirely untrue: shortlog can accept
commit-range-or-file, just like log can.  Fix the completer by copying
out segments from the __git-log () function.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-04-25 14:36:08 +02:00
Ramkumar Ramachandra
cbdedcfbfe 31289: _git: branch.*.pushremote, remote.pushdefault
The configuration variables branch.*.pushremote and remote.pushdefault
are relatively new, and are currently not completed by ZSH.  Fix this.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-04-21 12:12:44 +02:00
Ramkumar Ramachandra
d1a3075293 31286: _git: add a couple of browsers
Add google-chrome/chromium to the list of builtinbrowsers in
__git_browsers ().

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-04-21 12:12:43 +02:00
Torstein Hegge
cc7437bf2f 31159: git: Pass prefix filter to ls-files even if it matches no files
When a branch or tag name is completed with zsh in a large git repo, the
completion is slow if the given prefix doesn't match a file or directory in
the current working directory. Testing with linux.git, which contains release
tags like v3.9 and a directory virt/:

  git log v<tab>

takes about 0.5 seconds, while

  git log v3<tab>

takes about 25 seconds.

(Timed using zsh 4.3.17, on a fairly slow cpu. zsh from git appears to be
quite a bit faster, but the difference between completing v and v3 is still
large.)

The difference between the two is that v<tab> passes the result of v* to git
ls-files while v3<tab> determines that v3* matches no files, and passes an
empty prefix to git ls-files. So git ls-files lists all files in the repo
and passes that on to _multi_parts.

Making git do the expansion of the * after the prefix lets git ls-files v3*
return an empty list, making _multi_parts job easier.

This does not affect the behavior of git log <tab>, but improves the
performance of partial tag and branch tab-completion in the common case where
file names and tag/branch names don't overlap.
2013-04-20 22:29:02 +02:00
Jun T
452aa5157a 31281: _du: add support for Mac OS X 2013-04-20 11:56:04 +02:00
Peter Stephenson
7514fe4a66 Daniel Friesel: 31265: improved option handling for devtodo. 2013-04-16 09:46:46 +01:00
Peter Stephenson
18bba82101 unposted: fix some .distfiles which mention files that have gone 2013-04-08 20:23:42 +01:00
Bart Schaefer
b4b02fbc8a 31234: use an "always" block instead of "trap" to clean up various function
overrides
2013-04-07 13:37:25 -07:00
Frank Terbeck
abb32da0e7 31221: Handle zero defined aliases better 2013-04-05 20:19:33 +02:00
Peter Stephenson
0c32aa6274 31203: add new etags completion. 2013-04-04 16:02:52 +01:00
Mikael Magnusson
7c50da8394 31182: _awk: Allow sticked arguments 2013-03-29 09:46:18 +00:00
Peter Stephenson
275ba0fdca Han Pingtian: 31167 (with tweak): limit use of colons for recognising
remote path in ssh completion
2013-03-20 20:33:45 +00:00
Peter Stephenson
146374a2af improved math context completion: functions 2013-03-17 20:53:44 +00:00
Peter Stephenson
a69f05b4ce 31151: Pavol Juhas: complete (C etc) tags better
when file system is not case sensitive.
2013-03-14 19:34:32 +00:00
Mikael Magnusson
ba88c42a5b 30490: _java: -keystore takes a file argument, so complete files 2013-03-10 12:38:18 +00:00
Oliver Kiddle
ac22eab0d9 31077: update for new options in GNU sort 2013-02-27 22:17:29 +00:00
Oliver Kiddle
c2e00298c2 c.f. 31071: remove duplicate _osc and rename _ps to avoid name clash 2013-02-27 21:43:15 +00:00
Peter Stephenson
a45b45eeab 31061: "functions" completion takes account of options already
on the command line
2013-02-22 21:58:16 +00:00
Oliver Kiddle
a409dbf74c 31058: add completion of options from newer versions of some commands 2013-02-21 10:49:22 +00:00
Peter Stephenson
2698b61837 31055: missing $ in compaudit search of /proc file system 2013-02-19 19:32:38 +00:00
Oliver Kiddle
1ba1865d61 Morita Sho: 31038: add location of terminfo entries on Debian 2013-02-09 21:33:58 +00:00
Peter Stephenson
08df75a8b1 Wieland Hoffmann: 31030: improve mplayer completion label 2013-02-07 19:54:44 +00:00
Peter Stephenson
f641f0b1e8 Han Pingtian: 31027: remove the -g's from globs in file completion 2013-02-07 19:51:27 +00:00
Peter Stephenson
01f4ac2782 Eric P Mangold: 31016: updated twisted completion using internally
generated function
2013-02-03 19:40:23 +00:00
Peter Stephenson
ef8e43aed2 31015: compaudit fix to allow executable owner to own completion files 2013-02-01 20:35:10 +00:00
Mikael Magnusson
af68fb3cf4 Fix _prove completer commit (was html) 2013-02-01 13:30:35 +00:00
Peter Stephenson
f90cb99208 Jesper Nygårds: 31012: gradle completion update 2013-01-29 19:32:22 +00:00