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 completi


From: Chet Ramey
Subject: Re: How not to expand a environment variable when doing command completion?
Date: Tue, 25 May 2010 22:18:34 -0400

> 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.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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