Re: How to change the command completion behavior in bash

2009-11-17 Thread Chet Ramey
Peng Yu wrote: > On Mon, Nov 16, 2009 at 4:50 AM, Henning Garus > wrote: >> On Sun, Nov 15, 2009 at 08:31:38PM -0600, Peng Yu wrote: >>> If I have the following in the command line, >>> >>> ~/.bash >>> >>> when I type , it will become /home/my_user_name/.bash >>> >>> I'm wondering if it is possibl

Re: How to change the command completion behavior in bash

2009-11-17 Thread Peng Yu
On Tue, Nov 17, 2009 at 1:15 PM, Chet Ramey wrote: > Peng Yu wrote: >> On Mon, Nov 16, 2009 at 8:30 AM, Chet Ramey wrote: If I have the following in the command line, ~/.bash when I type , it will become /home/my_user_name/.bash I'm wondering if it is possible t

Re: How to change the command completion behavior in bash

2009-11-17 Thread Peng Yu
On Mon, Nov 16, 2009 at 4:50 AM, Henning Garus wrote: > On Sun, Nov 15, 2009 at 08:31:38PM -0600, Peng Yu wrote: >> If I have the following in the command line, >> >> ~/.bash >> >> when I type , it will become /home/my_user_name/.bash >> >> I'm wondering if it is possible to configure bash command

Re: How to change the command completion behavior in bash

2009-11-17 Thread Chet Ramey
Peng Yu wrote: > On Mon, Nov 16, 2009 at 8:30 AM, Chet Ramey wrote: >>> If I have the following in the command line, >>> >>> ~/.bash >>> >>> when I type , it will become /home/my_user_name/.bash >>> >>> I'm wondering if it is possible to configure bash command completion, >>> so that it will still

Re: How to change the command completion behavior in bash

2009-11-17 Thread Peng Yu
On Mon, Nov 16, 2009 at 8:30 AM, Chet Ramey wrote: >> If I have the following in the command line, >> >> ~/.bash >> >> when I type , it will become /home/my_user_name/.bash >> >> I'm wondering if it is possible to configure bash command completion, >> so that it will still be '~/.bash' > > You don

Re: How to change the command completion behavior in bash

2009-11-16 Thread Chet Ramey
> If I have the following in the command line, > > ~/.bash > > when I type , it will become /home/my_user_name/.bash > > I'm wondering if it is possible to configure bash command completion, > so that it will still be '~/.bash' You don't say what version of bash you're using, but bash-3.2 and b

Re: How to change the command completion behavior in bash

2009-11-16 Thread Henning Garus
On Sun, Nov 15, 2009 at 08:31:38PM -0600, Peng Yu wrote: > If I have the following in the command line, > > ~/.bash > > when I type , it will become /home/my_user_name/.bash > > I'm wondering if it is possible to configure bash command completion, > so that it will still be '~/.bash' > Add se

How to change the command completion behavior in bash

2009-11-15 Thread Peng Yu
If I have the following in the command line, ~/.bash when I type , it will become /home/my_user_name/.bash I'm wondering if it is possible to configure bash command completion, so that it will still be '~/.bash'