1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00
pacman/contrib
Andres P 80f7c1707c bash_completion : full rewrite with many improvements
* Undeclared local vars with common enough names to warrant breakage
* Performance issues with _pacman trying to replicate /usr/bin/pacman
  with find and other slow tools.
* Performance issues with expanding an array (with sometimes hundreds of
  items) over three times.
* Expanding said array to remove already completed entries had the side
  effect of braking filenames with spaces and or \n.
* add -D --database options and --print
* fix dirs showing up when they shouldn't in completions
* completions regarding database entries shouldn't trigger filename
  completion.

This is now down to 106 lines. The original one (master) is 365 lines
long, yet this one retains all functionality.

The work is documented in FS#16630.

Signed-off-by: Andres P <stderr@mail.com>
Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-24 21:24:48 -05:00
..
bacman contrib/bacman: fix checking if file has been added 2009-11-15 19:18:56 -06:00
bash_completion bash_completion : full rewrite with many improvements 2010-05-24 21:24:48 -05:00
gensync Update copyright headers and messages 2009-07-01 02:08:33 -05:00
Makefile.am contrib/pacscripts - print install scripts from a package 2009-03-15 11:38:53 -05:00
pacdiff pacdiff : add diffsearchpath option 2009-10-24 09:55:50 -05:00
paclist contrib/paclist: list packages installed from given repo. 2008-05-10 11:13:24 -05:00
pacscripts contrib/pacscripts - print install scripts from a package 2009-03-15 11:38:53 -05:00
pacsearch pacsearch: quote args passed to pacman 2008-07-24 22:16:28 -05:00
pactree contrib/pactree: generate reverse dependency trees 2010-04-26 18:49:11 -05:00
PKGBUILD.vim PKGBUILD.vim: only allow hex characters in checksums 2010-05-13 17:46:30 -05:00
README contrib/pacscripts - print install scripts from a package 2009-03-15 11:38:53 -05:00
updatesync remove --force option from repo-add. 2008-02-05 19:35:41 -06:00
vimprojects rename vimproject to vimprojects and update it. 2008-03-08 21:00:56 -06:00
wget-xdelta.sh contrib/wget-xdelta.sh: Replaced with an improved version. 2007-06-04 22:00:56 -04:00
zsh_completion Add new --print operation for all operations 2010-03-14 18:44:40 -05:00

Here is a brief description of the files included in this directory:

PKGBUILD.vim - a vim/gvim syntax file for PKGBUILDs. Colors known variable
names, highlights common errors such as invalid characters in pkgname or
pkgver, etc.

bash_completion - a bash completion script for pacman, install in
/etc/bash_completion.d/ for use (but rename to something descriptive!).

zsh_completion - a zsh completion script, install (with a rename) to
/usr/share/zsh/site-functions/.

pacdiff - a simple pacnew/pacorig/pacsave updater for /etc/.

paclist - list all packages installed from a given repository. Useful for
seeing which packages you may have installed from the testing repository,
for instance.

pacscripts - tries to print out the {pre,post}_{install,remove,upgrade}
scripts of a given package.

pacsearch - a colorized search combining both -Ss and -Qs output. Installed
packages are easily identified with a *** and local-only packages are also
listed.

pactree - generate a dependency tree of an installed package in textual or
graphical form (using graphviz).

bacman - regenerate a pacman package based on installed files and the pacman
database entries. Useful for reuse, or possible config file extension.

vimprojects - a project file for the vim project plugin.

wget-xdelta.sh - A download script for pacman which allows binary deltas
generated with makepkg to be used instead of downloading full binary packages.
This should cut download sizes for some package upgrades significantly.

gensync, updatesync - The former repository management scripts that have since
been superseded by repo-add and repo-remove. They are here for posterity's
sake, and to show how repo-add and repo-remove can be wrapped in other scripts.