[Bash-completion-devel] [bash-completion-Bugs][314799] cd autocompletion fails when two folders share the first letters and contain spaces
bash-completion-bugs at alioth.debian.org
bash-completion-bugs at alioth.debian.org
Thu Sep 25 11:43:34 UTC 2014
bash-completion-Bugs item #314799 was changed at 2014-09-25 13:43 by Iñaki Baz Castillo
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314799&group_id=100114
Status: Open
Priority: 3
Submitted By: Iñaki Baz Castillo (ibc-guest)
Assigned to: Nobody (None)
Summary: cd autocompletion fails when two folders share the first letters and contain spaces
Distribution: --Distribution-Agnostic--
Originally reported in: Debian BTS
Milestone: None
Status: None
Original bug number:
Initial Comment:
- OS: OSX 10.9.4
- bash (installed with Homebrew): GNU bash, versión 4.3.18(1)-release (x86_64-apple-darwin13.3.0)
- bash-completion2 (installed with Homebrew): 2.1
I do source the bash_completion file (brew --prefix points to /usr/local/ where the brew stuff is installed):
source $(brew --prefix)/share/bash-completion/bash_completion
Issue description:
~# mkdir "qwe asd 1"
~# mkdir "qwe asd 2"
~# cd qwe + TAB (press TAB multiple times)
Nothing happens, it writes:
cd qwe\ asd\
but nothing else, and in case you append "1" or "2", it does neither work.
NOTE: ls command does work in the same scenario!
NOTE: I attach a working patch (tested in my OSX) extracted from a bug report in Debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739835
----------------------------------------------------------------------
Comment By: Iñaki Baz Castillo (ibc-guest)
Date: 2014-09-25 13:43
Message:
Thanks for the no-feedback guys. Great bug tracker anyway (where is the "Send comment" button?).
----------------------------------------------------------------------
Comment By: Iñaki Baz Castillo (ibc-guest)
Date: 2014-09-03 19:56
Message:
BTW, and I sorry for the comment, but this is the worst issue tracker I've ever seen.
----------------------------------------------------------------------
Comment By: Iñaki Baz Castillo (ibc-guest)
Date: 2014-09-03 19:54
Message:
NOTE: It seems that the issue affects bash 4.3 only.
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314799&group_id=100114
More information about the Bash-completion-devel
mailing list