[Top][All Lists]

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

tab expansion of $HOME/ to \$HOME/

From: Diggory Hardy
Subject: tab expansion of $HOME/ to \$HOME/
Date: Mon, 13 Jan 2014 11:00:09 +0100
User-agent: KMail/4.11.4 (Linux/3.12.3-1.fc21.x86_64; KDE/4.11.4; x86_64; ; )


I'm using this version of bash:

$ bash --version
GNU bash, version 4.2.45(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

on Fedora 20.

If I enter

$ ls $HOME/Do

and press the Tab key, bash expands to

$ ls \$HOME/Documents

(notice $ is replaced with \$). This is from my point of view an annoying 
anti-feature, since I must then remove the escaping back-slash. What's going 

I should state that the only reason I noticed this is that I don't have a ~ on 
my current keyboard, but still this seems like a valid bug report to me.

Best regards,

Diggory Hardy

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

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