Debian Bug report logs - #539365
bash completion of "cd $VARNAME" gets mangled (too smart for its own good?)

version graph

Package: bash-completion; Maintainer for bash-completion is Gabriel F. T. Gomes <gabriel@debian.org>; Source for bash-completion is src:bash-completion (PTS, buildd, popcon).

Reported by: Bryce Nesbitt <bryce2@obviously.com>

Date: Fri, 31 Jul 2009 05:27:02 UTC

Severity: normal

Tags: fixed-upstream

Found in version bash-completion/20080705

Fixed in version 1:1.1-3

Done: David Paleino <dapal@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#539365; Package bash-completion. (Fri, 31 Jul 2009 05:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to Bryce Nesbitt <bryce2@obviously.com>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Fri, 31 Jul 2009 05:27:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Bryce Nesbitt <bryce2@obviously.com>
To: submit@bugs.debian.org
Subject: bash completion of "cd $VARNAME" gets mangled (too smart for its own good?)
Date: Thu, 30 Jul 2009 22:25:15 -0700
Package: bash-completion
Version: 20080705

"echo $HOM<tab>" gives "echo $HOME".
"cd $HOM<tab>" gives "cd \$HOME".

True in Etch and Lenny.

Workaround fixes:
1) Set the shopt variable cdable_vars  (but seemingly this only fixes it 
accidentally)
2) Run "complete -F _cd cd"
3) Run "apt-get remove bash-completion" (which only removes the fancy 
completion, not the basic completion)

See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=272660






Added tag(s) fixed-upstream. Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Wed, 23 Sep 2009 08:39:07 GMT) (full text, mbox, link).


Reply sent to David Paleino <dapal@debian.org>:
You have taken responsibility. (Sun, 27 Dec 2009 16:39:11 GMT) (full text, mbox, link).


Notification sent to Bryce Nesbitt <bryce2@obviously.com>:
Bug acknowledged by developer. (Sun, 27 Dec 2009 16:39:11 GMT) (full text, mbox, link).


Message #12 received at 539365-done@bugs.debian.org (full text, mbox, reply):

From: David Paleino <dapal@debian.org>
To: Bryce Nesbitt <bryce2@obviously.com>
Cc: 539365-done@bugs.debian.org
Subject: Re: bash completion of "cd $VARNAME" gets mangled (too smart for its own good?)
Date: Sun, 27 Dec 2009 17:36:32 +0100
[Message part 1 (text/plain, inline)]
Version: 1:1.1-3

Seems fixed now.

David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 25 Jan 2010 07:42:39 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 09:16:33 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.