bug-bash
[Top][All Lists]
Advanced

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

Re: How not to expand a environment variable when doing command complet


From: Peng Yu
Subject: Re: How not to expand a environment variable when doing command completion?
Date: Tue, 25 May 2010 21:28:00 -0500

On Tue, May 25, 2010 at 9:18 PM, Chet Ramey <chet.ramey@case.edu> wrote:
>> When I type 'cd $HOME/.<TAB>', bash will expand the command to 'cd
>> /home/my_user_name/.'. Would you please let me know how to let bash
>> expand the environment variable?
>
> There is no setting to suppress the environment variable expansion.  Bash
> has behaved this way for many years.

This default behavior may not be always wanted. Will a setting be
added to suppress the expansion in future versions of bash?

-- 
Regards,
Peng



reply via email to

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