Gentoo Archives: gentoo-user

From: Jean-Baptiste Mestelan <mestelan@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Bash completion annoyance: escapes directory variables.
Date: Sat, 17 Jan 2009 13:23:37
Message-Id: eaa71e3e0901170523w772526dev668309caccb9ebb6@mail.gmail.com
1 Hello all.
2
3
4 Now, I am unsure whether this is a feature, but:
5 when I tab-complete 'cd ' followed an environment variable, bash
6 insists on escaping this variable.
7
8 ex: cd $<TAB> -> cd \$
9 Which means I end up typing for example
10 # cd \$DOC
11 and this is not resolved right.
12
13 If the variable path is not preceded by 'cd ' , bash completes it OK,
14 without escaping them.
15
16
17 Is there any way I can fix this behaviour ?
18 Thanks for your tips.

Replies

Subject Author
Re: [gentoo-user] Bash completion annoyance: escapes directory variables. Stroller <stroller@××××××××××××××××××.uk>