add bash completion for binary packages #65

Closed
rmarquis opened this Issue Mar 20, 2012 · 6 comments

Projects

None yet

2 participants

@rmarquis
Owner

Bash completion only shows aur-packages, make it possible to show official packages as well.

@rmarquis
Owner
rmarquis commented Apr 2, 2012

This is not a trivial issue as pacman bash completion needs to be merge in pacaur file. Moving to release 3.x.

@rmarquis
Owner
rmarquis commented Aug 7, 2012

Completion for binary packages added by berz_ in 040d3b1 and released in 3.2.1.
Let's see if everything works as expected before closing this issue.

@rmarquis
Owner

Possible improvements:

  • add the support of the "fallback" option, to search for binary and AUR packages when using "-S ".
  • add completion for -U operation (which should require some pacman completion integration)
@exterm
exterm commented Nov 12, 2012

Possible improvements:

  • add completion for -R (complete installed packages)
@rmarquis
Owner
rmarquis commented Dec 4, 2012

The bash completion file has been totally rewritten in 3cdc89c on the basis of yaourt bash completion file.

Support for

  • completion for -U operation (which should require some pacman completion integration)
  • completion for -R (complete installed packages)

have been added.

Support of the "fallback" option, to search for binary and AUR packages when using "-S " is still missing. Not sure if I'll add it as asking the AUR is much slower than the local binary repo database.

@rmarquis
Owner
rmarquis commented Dec 4, 2012

Added disabled support for -S autocompletion in 85cb911.
This is too slow in normal mode, and I don't see a proper way to take the fallback variable into account. This might be improved and enabled in the future.

Closing this issue for now.

@rmarquis rmarquis closed this Dec 4, 2012
@rmarquis rmarquis reopened this Dec 4, 2012
@rmarquis rmarquis closed this Dec 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment