0

I recently installed Ubuntu 20.04.

When I pressed the tab key for auto-completion of an environment variable, let say ENVAR, which contains directory information, it suddenly converted the '$' to '$' so that I could not input the directory any longer.

i.e.,

ENVAR=$HOME/mydir

and I want to input $ENVAR/subdir1. So I press the tab key at

$ cd $ENVAR/sub

then it returns

$ cd \$ENVAR/subdir1

What should I do?

Has anyone experienced a similar problem to me?

Thanks for your help.

0 Answers0