[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

exported variable and tab

From: Matias A. Fonzo
Subject: exported variable and tab
Date: Mon, 28 Mar 2011 13:56:18 -0300
User-agent: SquirrelMail/1.4.19

Hi there,

I have bash 4.2.8(2)-release with readline 6.2 running on GNU/Linux.

I've exported a variable and when I press TAB, the result is a backslash.
For example, with the case of the $HOME variable:

$ mkdir $HOME/test
$ cd $HOME/test <TAB>

The result is:

cd \$HOME/test

Instead of showing the full path.

Why bash 4.2 is trying to escape an environment variable (expanding with a
directory or a file)?.

reply via email to

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