[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: |
Eric Blake |
Subject: |
Re: How not to expand a environment variable when doing command completion? |
Date: |
Mon, 24 May 2010 09:53:52 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b1 Mnenhy/0.8.2 Thunderbird/3.0.4 |
On 05/22/2010 02:48 PM, Peng Yu 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?
I assume you meant "to let bash NOT expand the environment variable"?
At any rate, you should file this bug report to the bash-completion
people, since that is an artifact of bash-completion, and not bash itself.
--
Eric Blake eblake@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature