This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bash / readline problem with cd, directories with spaces, nospace
- From: ht at inf dot ed dot ac dot uk (Henry S. Thompson)
- To: cygwin at cygwin dot com
- Date: Mon, 23 Feb 2015 16:14:29 +0000
- Subject: Re: bash / readline problem with cd, directories with spaces, nospace
- Authentication-results: sourceware.org; auth=none
- References: <f5b61asboki dot fsf at troutbeck dot inf dot ed dot ac dot uk>
[OK, here's the message body I _thought_ I sent with the cygcheck
output which is all that appears to have been received...]
I _think_ this is a regression, but my memory for this sort of thing
is terrible.
With libreadline7-6.3.8-1, given that I have
/c/Program Files
/c/Program Files (x86)
/c/ProgramData
If I type
> cd /c/Prog[tab]
I get [bell/flash] and
> cd /c/Program
All correct so far
> cd /c/Program[tab]
[bell/flash]
> cd /c/Program[tab again]
Program Files/ Program Files (x86)/ ProgramData/
> cd /c/Program
Still as expected
> cd /c/Program\ [tab]
[bell/flash]
_Not_ as expected, should give
Program Files/ Program Files (x86)/
> cd /c/Program\ Files
Overriding the standard (Linux too, where I cannot reproduce the problem)
complete -o nospace -F _cd cd
with
complete -o default -F _cd cd
fixes this, but I don't _think_ it used to happen.
Related (?) problem
> cd /c/'Prog'[tab]
should result in
> cd /c/Program
but in fact just gives [bell/flash]
Can anyone reproduce, either correct behaviour with earlier readline
and/or earlier bash-completion than 1.3-1, or same problem as me?
Or have I inadvertently screwed something up?
Thanks
ht
--
Henry S. Thompson, School of Informatics, University of Edinburgh
10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail from me _always_ has a .sig like this -- mail without it is forged spam]
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple