Home_greyopenFATE - openSUSE feature tracking > #307465
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

Enable zypper to auto-complete package names

Feature state

openSUSE Distribution


I think it would be handy if zypper could auto-complete package names as the shell can do for commands, i.e. if there is more than one possible match, show a list, if not auto-complete.


icons/user_comment.png K. J. wrote: (7 years ago)

This seems to be the only feature that makes APT more convenient to use for a power user (considering everyday usage).

icons/user_comment.png J. E. wrote: (7 years ago)

The problems with autocomplete is that it is usually slow. osc suffers from the same problem (i.e. 'osc add tarb<TAB>' wants to contact server, despite that being of no use.)

icons/user_comment.png K. J. wrote: (7 years ago)

I don't think so. It is neither slow in Debian nor in Ubuntu. I have been using them for a long time. In fact it is pretty convenient to use.
I have never used osc but for me, that seems to be a bad design of the software. I stress again, if Debian-like distros can make it function fast with ten thousands of packages, then if implemented properly, it should not be slow.

icons/user_comment.png M. D. wrote: (7 years ago)

Ubuntu/Debian uses a bash script in bash_completion.d to handle this. You need to be able to generate a list of packages, similar to dpkg -l. After that, it's just search & match.

icons/user_comment.png S. o. wrote: (5 years ago)

How about to add this feature in 12.2 for only "remove" or "update" for now (like rpm and it is not slow) ?

Last change: 12 months ago
Score: 50
  • Negative: 2
  • Neutral: 3
  • Positive: 52
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint