smarter bash completion

Magnus Therning magnus at therning.org
Wed Aug 24 22:24:43 UTC 2005


On Wed, Aug 24, 2005 at 09:24:55AM -0400, Alvin Thompson wrote:
>hello,
>
>on suse 9.3, the bash completion is pretty smart. it knows to only
>list/complete directories after a 'cd' command and after a 'which'
>command, it completes commands from your path as normal. i'm sure it
>does other tricks i haven't noticed. is there any way to do these
>things on ubuntu? if so why not make it the default?

Take a look at the bash config files in /etc, I think uncommenting the
last three lines of /etc/bash.bashrc might be what you are looking for.

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus at therning.org
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

The right to speak PGP is the right to speak Navajo.
      -- Eben Moglen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050824/6f17cf5e/attachment.sig>


More information about the ubuntu-users mailing list