> You will need to source the file that contains the functions:
>
> source /etc/bash_completions
>
> The installation you did most likely added something like this to your
> ~/.bashrc:
>
> # enable programmable completion features (you don't need to enable
> # this, if it's already enabled in /etc/bash.bashrc and /etc/profile
> # sources /etc/bash.bashrc).
> if [ -f /etc/bash_completion ]; then
>    . /etc/bash_completion
> fi

The above code changed the behavior of, for example, cd $DATA<TAB>.
After I type <TAB>, it becomes cd \$DATA. This is not what want. When
it is not sourced, typing <TAB> would not change cd $DATA. Is there a
way to perserve the behavior of cd $DATA<TAB>?



-- 
Regards,
Peng

Reply via email to