#689 Consider including bash-completion package by default (base, not core)
Closed None Opened 12 years ago by duffy.

= Proposal topic =

It's worth considering installing the bash-completion package by default (base, not core) in Fedora.

= Overview =

A common point of confusion when installing packages is remembering the package name of the application you're trying to install. Some examples: apache is httpd, libreoffice is libreoffice-something depending on which, liveusb-creator has the dash in the center rather than live-usb-creator or live-usbcreator. Other distros have tab completion of package names in their package managers, and recently we have seen an increase in interest in Fedora from users of other distros.

If we included the bash-completion package by default in install, it would not only make yum easier to use for the newly-converted, but for everyone. It also enables extended bash completion capability, such as completing hostnames, usernames, and variable names, which would make our default command line experience more pleasant.

= Problem space =

Improving ease of use of yum and the command line in general; improving experience of new Fedora users coming over from other distros.

= Solution Overview =

Include the bash-completion package in base.

= Active Ingredients =

The maintainer for bash-completion.
The maintainer of comps.
The spins since the package will take some space (205 k)

= Owners =

Mairin Duffy & Matthew Reid


I spoke to ajax and sgallagh in IRC today and they said they support the proposal.

Is the default bash-completion install invoking any communication over network in any tab completion situation? If not I am OK with the proposal as well.

Defer to next week, because we didn't find time to discuss it.

I'm fine with the same caveat that Tomas has.

This was approved at the 2011-11-14 fesco meeting.

I'm the bash-completion maintainer and I'm somewhat confused by this ticket. Following discussion on the devel mailing list, I added bash-completion to the @base group as default already for F-16 in July, see git commit 3a88e77 in comps and https://bugzilla.redhat.com/show_bug.cgi?id=709647 . I have not been contacted regarding this ticket until now in https://bugzilla.redhat.com/show_bug.cgi?id=758854 . Am I missing something?

(Reopening just to draw attention, not sure if anyone gets mails regarding already closed tickets.)

As it looks here bash-completion has just advantages please note my -1: It broke '''-r''' and '''-i''' filename completions of rpm ([https://bugzilla.redhat.com/show_bug.cgi?id=759224 759224], some of the cases remain unfixed), I had more problems to complete '''yum install localfile<tab>''' (unreproducible now, I was recovering the system before), in the end the behavior was broken a similar way like with '''!PackageKit-command-not-found''' which does not seem to be installed by default anymore.

Replying to [comment:7 scop]:

Am I missing something?

No, you're fine, no additional work is needed from the fesco / feature process perspective. If there are further issues with the default bash-completion configuration they should be followed up in bugzilla.

Login to comment on this ticket.

Metadata