[Bash-completion-devel] How to let bash not expand a environment variable when doing command completion?

Peng Yu pengyu.ut at gmail.com
Mon May 24 16:00:26 UTC 2010


I was told by people on bug-bash at gnu.org. That I should send the
following question to bash-completion. Therefore, I sent it to this
mailing list.

==================

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 not
expand the environment variable?

-- 
Regards,
Peng



More information about the Bash-completion-devel mailing list