1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-02 13:26:03 +02:00
Commit Graph

266 Commits

Author SHA1 Message Date
Oliver Kiddle 4c3d047161 47294: updates to options in aptitude completion 2020-08-10 13:03:26 +02:00
Daniel Shahaf 8498f8864e unposted: Use alternation patterns rather than brace expansion
(Cf. discussion on GitLab !12.)
2020-05-07 22:23:26 +00:00
Daniel Shahaf d128bc0bd4 45731: _debsnap: New completion function. 2020-05-03 01:29:05 +00:00
Romain Porte 0d7f888945 45524: Add completion for dscverify(1) from Debian's devscripts. 2020-03-10 15:31:24 +00:00
Daniel Shahaf 742ab1283b unposted: Two additional typo fixes. 2020-01-09 13:59:05 +00:00
Jens Schleusener 11dbe4c286 45269: Fix misspellings in completions and elsewhere. 2020-01-09 13:42:02 +00:00
Baptiste BEAUPLAT 058cc10054 44698, 45000: Baptiste BEAUPLAT: Completion for sbuild 2019-12-16 12:07:39 +01:00
Oliver Kiddle 2b41606fe7 44614: apt list option completion 2019-08-19 17:29:49 +02:00
dana 683c2cc1ca 44160 (tweaked): Completion: Add _deb_files, match *.ddeb
Add new helper function for generating Debian package/control files, use it
where applicable

Adjusted only for minor white-space corruption in original patch
2019-03-25 16:19:00 -05:00
dana 29222ca186 44080: Completion: Fix several option-description typos 2019-02-26 01:21:29 -06:00
Oliver Kiddle 01bc3c124a 43301: add some functions from zsh-completions project 2018-08-23 01:19:54 +02:00
dana 5019336110 43088: Fix wajig sub-command completion 2018-06-23 18:53:45 -05:00
Oliver Kiddle bfff8debf7 42591: complete *.changes and *.dsc files alongside *.deb 2018-04-05 13:00:14 +02:00
Oliver Kiddle f1a52c23fa 42497 (tweaked c.f. 42498): make completion after apt install work on local .deb files 2018-03-23 09:57:39 +01:00
Daniel Shahaf dd5ab15b5f 42186: _apt: Fix completion of target_release names, e.g., 'apt install zsh/<TAB>'.
When local-apt-repository is installed, 'apt-cache policy' contains
.
     100 /var/lib/dpkg/status
         release a=now
     500 file:/var/lib/local-apt-repository ./ Packages
         release o=local-apt-repository,c=
.
which was matched by the pattern being patched.
2017-12-30 06:15:22 +00: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
Gautam ab37774266 41907: further deborphan update 2017-10-16 09:49:16 +01:00
Gautam 82b275d53a 41904: new deborphan and updated xrandr completions 2017-10-16 09:46:14 +01:00
Daniel Shahaf 06e70fb42d 41474: Fix pbuilder's --distribution,--architecture completion. 2017-08-01 01:08:01 +00:00
Oliver Kiddle 78afb218b0 40965: fix for missing local declarations of expl 2017-04-26 16:32:10 +02:00
Daniel Shahaf b088b67a54 40303: _bts: Add more subcommands.
Since 'done' is deprecated, stop offering it but do complete after it.
2017-01-10 03:57:30 +00: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
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 370b278565 39890: typo corrections in completion functions 2016-11-09 16:55:14 +01:00
Daniel Shahaf 7ad0001183 39479 + 39481 minus _path_files hunk (see 39489): Completion: audit 'compset -P' calls to use shortest match where applicable, plus random drive-by tweaks.
Found by grepping for patterns that can match needles of various lengths:

    :grep 'compset -[PS].*[\#^*()\|<>?~\]' Completion/
2016-10-07 13:56:31 +00:00
Daniel Shahaf dfc9214984 39480: _reportbug: Complete absolute filenames, too. 2016-09-30 23:15:57 +00:00
Daniel Shahaf 7c93ba46d2 39385: _bts: Complete more argument types for 'cache' and 'show'. 2016-09-20 17:59:20 +00:00
Daniel Shahaf f0c804879b 39374: _apt: Complete package versions in the 'packagename=<version>' syntax. 2016-09-18 06:20:59 +00:00
Oliver Kiddle 8011fe8a58 39261 (tweaked cf. Daniel: 39275): don't unconditionally elevate privileges with sudo in completion functions
A new gain-privileges style enables it and a _comp_priv_prefix array
added for tracking how to match privileges for the current command
2016-09-11 13:49:22 +02:00
Daniel Shahaf dd6f79759f 38990: _debbugs_bugnumber: Track bts's data dir migration. 2016-08-05 12:37:25 +00:00
Daniel Shahaf 0f4cfc2597 unposted: _deb_packages: Minor optimization. 2016-07-23 18:02:28 +00:00
Felipe Sateler 02f03a6aed 38901: _schroot: Add -r/--run-session 2016-07-21 07:18:50 +00:00
Clint Adams 469a8d8aa3 38482: complete available packages for apt list. 2016-05-12 21:08:42 -04:00
Daniel Shahaf f09c00bca5 38453: _apt: Complete ${package}/${release} for 'source' and 'build-dep', too. 2016-05-10 18:38:42 +00:00
Daniel Shahaf 1a8fb1cbb3 38452: _apt: Complete releases by codename ('jessie', 'sid', etc). 2016-05-10 18:38:40 +00:00
Daniel Shahaf d41a866047 38451: _apt: Complete 'apt-get download'. 2016-05-10 18:38:17 +00:00
Daniel Shahaf 98f670cf43 38401: _deb_packages: New completion for source packages. 2016-05-06 22:30:50 +00:00
Daniel Shahaf a6ab968224 38399: _bts: Complete debbugs bug numbers from `bts cache`. 2016-05-04 20:50:34 +00:00
Daniel Shahaf bb5c8f16bf unposted: _querybts: Fix positional arguments' description. 2016-05-01 16:25:47 +00:00
Daniel Shahaf ea626708a5 37923: Completion: _bts: Fix quoting of $DEBEMAIL. 2016-02-09 03:41:45 +00:00
Axel Beckert 5f3e47ca5e 37438: C/D/C/_aptitude: Also parse -h output of aptitude 0.7.5 and later 2015-12-27 15:50:24 +01:00
Felipe Sateler 67484e613b Add missing apt purge and autoremove subcommands 2015-12-26 18:22:49 +01:00
Daniel Shahaf ebb0d7ddaa 37256: _debchange (_dch): Update completion. 2015-11-30 16:02:47 +00:00
Daniel Shahaf 2f4b690c7a 36321: _debcheckout: New completion. 2015-08-29 16:12:25 +00:00
saga 8cd812a1d3 33712: add --auto-remove option 2014-11-21 12:05:22 +01:00
Oliver Kiddle 5e592fd9b0 33485: fixes for zstyle context handling 2014-10-21 20:53:51 +02:00
Oliver Kiddle 13fc579343 33467: correct return status on functions and numerous other minor fixes 2014-10-14 23:04:45 +02:00
Oliver Kiddle 98ce8a658e 33424: use common function for completing Debian architectures 2014-10-11 01:28:10 +02:00
Peter Stephenson cc6e9db29d 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
Sebastian Ramacher 2abc8530dd 32814: Add some more recent dpkg options
Expands dpkg completion by adding the --add-architecture,
--remove-architecture, and --print-foreign-architectures options.

Initially submitted to Debian at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681518#13
2014-07-04 00:50:06 +02:00