bash completion function

Brian McKee brian.mckee at gmail.com
Mon Nov 19 16:23:14 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 19-Nov-07, at 12:07 AM, 黄叶 wrote:

> Hi, All
> I got one issue in ubuntu bash .
>
> I Fedora , I use the bash completion like this: perl -d li1<tab>,  
> it will show a list, li1 as prefix.
> but in ubuntu, I just input this: perl -d li1<tab>, no anything is  
> not happen.
> why?
> how to deal with this?
>

Hi Mike

I think you need to add this to your .bashrc  (or the /etc version if  
you want it system wide)

   set show-all-if-ambiguous on

Brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Verify this email or encrypt your email for free - see gnupg.org

iD8DBQFHQbhyGnOmb9xIQHQRAoAAAJwLpAHR2awIxyqi1JBd48+5/kS47wCeNJ9v
DLitreNuPrF9nUlFUIrS+YU=
=YvQP
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list