[Bug 565447] Re: bash completion cd /usr/bin/X11 ad infinitum

Dave Gilbert ubuntu at treblig.org
Sun Aug 19 23:34:07 UTC 2012


OK, so bash-completion is doing the right thing here; it's looking for
the next director,y finding the right thing and there is only one
directory to go to; so this is correct behaviour.

So, I say if this is a bug it's x11-common's.

So - is it a bug?
Well /usr/bin/X11 is probably there for compatibiltiy; for shell scripts that have that in there path - although frankly that's probably pretty rare in the last 10 years.

http://www.pathname.com/fhs/pub/fhs-2.3.html#USRBINMOSTUSERCOMMANDS
states:

    /usr/bin/X11 must be a symlink to /usr/X11R6/bin if the latter
exists.

which is a bit of a quandry since the latter no longer exists.

I'd say it's probably there for compatibility but could probably killed these days because it's probably rare to be used; but
I don't see it as a bug.

** Package changed: bash-completion (Ubuntu) => xorg (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/565447

Title:
  bash completion cd /usr/bin/X11 ad infinitum

Status in “xorg” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: bash-completion

  Open up a terminal and write: "cd /usr/bin/" then press tab key
  (once): "cd /usr/bin/X11" press it again: "cd /usr/bin/X11/X11"

  You can pressing the button all day long and you will get a nice
  ...X11/... string.

  I guess this not desired completion behavior and I think this is a
  bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/565447/+subscriptions




More information about the foundations-bugs mailing list