1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-09 19:51:26 +01:00
Commit graph

38 commits

Author SHA1 Message Date
Oliver Kiddle
2c03873053 44788: handle newer rpm commands like rpmkeys, rpmsign and update options 2019-09-30 23:14:36 +02:00
Oliver Kiddle
cd6fd2b0a3 44274: allow finer control of completion match soring with compadd's -o option 2019-05-07 23:24:49 +02:00
Oliver Kiddle
c2c9a16350 42549: also handle the yumdb command in yum completion 2018-03-28 10:30:05 +02:00
Eric Cook
99cf61fd42 42171: prevent parameters of various parameters from becoming global 2018-01-02 14:38:03 -05:00
Malcolm Ramsay
d8e3218938 Specify system python in dnf completion
The python executable in the python_exec variable was the python[2|3]
executable found in $PATH. When the python[2|3] executable was not the
system installed version the completion command raised an `ImportError`
as the 'dnf' module was not found.

This commit just completely specifies the python version to be the
system version `/usr/bin/python[2|3]`, allowing completion within a
python dev environment.
2017-11-13 21:14:56 +01:00
Oliver Kiddle
b138acf42e 41725: assorted minor updates to completion functions 2017-09-18 15:53:29 +02:00
Oliver Kiddle
8ec1a25994 40004: fix cache mechanism, complete groups and other minor improvements 2016-11-24 16:11:55 +01:00
Paul Seyfert
2ba985fe5b 39920: extend yum completion
adding the following yum commands:
 * update-to (just what update expands)
 * upgrade-to (just what update expands)
 * history (the actual tricky one)
 * help (printing the available commands)
 * load-transaction (_files)
 * load-ts (_files)
 * check (just what the man page suggested)
 * reinstall (just what erase does - suggest installed packages)
 * downgrade (just what erase does - suggest installed packages)
 * repolist (just what the man page suggested)
 * distribution-synchronization (just what erase does - suggest installed packages)
 * distro-sync (just what erase does - suggest installed packages)

A few history commands don't get expanded.
Taken from the man page of yum 3.2.29.
Reindented file.
2016-11-12 02:40:49 +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
Oliver Kiddle
580698bc71 39067: update options to correspond to latest versions of software in various functions 2016-08-19 18:00:07 +02:00
Adrien Vergé
3102883fbc 37397: Optimised update to dnf completion 2015-12-13 18:19:18 +00:00
Oliver Kiddle
098319df99 37028: new scl completion 2015-10-31 19:11:16 +01:00
Oliver Kiddle
72ecc2ef36 Adrien Vergé: 35352: completion for new Redhat package manager 2015-06-02 00:49:09 +02:00
Eric Cook
d2f0b3ccb2 35292: yum install complets local files 2015-05-26 09:43:12 +01:00
Peter Stephenson
ec03a233c5 34654: Improved rpm -q --whatprovides completion 2015-03-05 14:49:47 +00:00
Jun-ichi Takimoto
0833518980 34335: fix bugs in _yum_all_pkgs 2015-01-23 23:10:33 +09:00
Oliver Kiddle
13fc579343 33467: correct return status on functions and numerous other minor fixes 2014-10-14 23:04:45 +02:00
Peter Stephenson
cc6e9db29d 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
Mikael Magnusson
59a0b52e61 29328: Another missing backslash in _git, remove some not needed backslashes in array definitions. 2011-05-22 02:13:55 +00:00
Peter Stephenson
f2ea8831e1 users/15945: various _yum corrections and updates 2011-04-11 08:46:05 +00:00
Doug Kearns
a54fdc70be unposted: fix incorrectly capitalized completion descriptions 2010-06-06 13:44:11 +00:00
Peter Stephenson
b230a690fa "Akinori MUSHA: 27892: update service & init completion for FreeBSD 2010-04-20 08:59:32 +00:00
Clint Adams
6dbf2f2f4a 25988: declare temporary cache array as local, thanks to problem noticed by Kazuhiro NISHIYAMA. 2008-11-02 14:12:29 +00:00
Doug Kearns
2dcc8627c9 unposted: fix typo in _rpm 2008-06-05 16:34:00 +00:00
Peter Stephenson
95af03ac65 unposted: updated _yum from Scott Murray 2005-12-19 20:24:20 +00:00
Peter Stephenson
78ace07e16 Scott Murray: users/9648: new _yum completion 2005-11-06 17:45:11 +00:00
Oliver Kiddle
63b336243f 19387: add (-.) glob qualifier to globs where only files are directly applicable 2004-01-21 13:53:28 +00:00
Oliver Kiddle
b84399b9cb tidy up of many completions (updates, fixes, improvements and plain aesthetics) 2003-07-31 15:26:13 +00:00
Andrey Borzenkov
db4e4c400d unposted: use zstyle again now when it works 2002-05-23 14:48:57 +00:00
Andrey Borzenkov
95b2f57eae unposted: fix context name; do not set style by default until it works 2002-05-12 09:45:20 +00:00
Andrey Borzenkov
e484b0f83c 17075, 17076: _urpmi and chkconfig/services 2002-05-08 09:18:12 +00:00
Sven Wischnowsky
61f8a07bfc make more calls to _message use the -e option (16988) 2002-04-16 07:48:43 +00:00
Wayne Davison
3757607561 Added package-specification options to --verify. 2001-08-27 19:33:15 +00:00
Adam Spiers
3df9884871 15630: update caching policy for newer versions of rpm. 2001-08-15 13:33:49 +00:00
Chmouel Boudjnah
a77a6994e8 Add --nobuild and --nogpg to rpm completion. 2001-06-05 13:48:08 +00:00
Oliver Kiddle
56528ccb66 spelling corrections 2001-05-29 17:54:08 +00:00
Sven Wischnowsky
cbba9da870 new or changed after move 2001-04-02 12:39:40 +00:00
Sven Wischnowsky
11a1352ca1 moved from Completion/Linux/_rpm 2001-04-02 12:23:22 +00:00