[haiku-commits] Re: r42257 - in haiku/trunk: build/jam data/etc data/etc/bash_completion.d data/etc/bash_completion.d/helpers data/etc/profile.d

  • From: "Brecht Machiels" <brecht@xxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 20 Jun 2011 15:28:53 +0200

On Mon, 20 Jun 2011 15:13:34 +0200, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:


brecht@xxxxxxxxxxx wrote:
Log:
* upgraded bash_completion to v1.3
* upgraded to subversion bash completion script shipped with
subversion 1.6.17
* added git bash completion script shipped with git 1.7.5.4
* readded bash completion to the image

I find bash_completion pretty horrible to use, as it messes up the tab
completion for commands it doesn't support. Unless those issues are
solved now, I would definitely vote for not making it part of Haiku.
Besides that, I don't quite see why this should be part of tree instead
of just an optional package.

I discussed this with Ingo on IRC. We decided to give the current version a try (the last one included with Haiku was from 2006) and enable it by default. If it turns out to be as bad as before, it can be removed, of course (and turned into an optional package).

It shouldn't interfere with commands it doesn't support, though. But it might have some trouble with the UNIX commands that have Haiku-specific implementations such as ps.

Do you think bash_completion is annoying in general (also on Linux), or is it a Haiku-specific problem? If there's a problem with specific commands (such as ps), the relevant completion script can be removed from the bash_profile.d directory.

Cheers
--
Brecht

Other related posts: