bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to change the command completion behavior in bash


From: Henning Garus
Subject: Re: How to change the command completion behavior in bash
Date: Mon, 16 Nov 2009 11:50:22 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

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 <TAB>, 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

set expand-tilde off

to your ~/.inputrc . However off is the default value, so you could
try to find out where it is set to on and remove that.

See "Readline Variables" in man bash.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]