delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:message-id:in-reply-to:subject | |
:mime-version:content-type:content-transfer-encoding; q=dns; s= | |
default; b=qvffDFlLuHmL1P3yT0kr5/8GiwFy2ns5uMh5NwJg7Jy53W2lfzVGW | |
bG1lwX2nttl+7JERuSAlZaIp35hjA5WGeW5+c9PK2rz49zk7YdvqyXSyvz8xMWB+ | |
82elmRrj2oOwDHIRU8m7yz3vTcI5paAD2MBhHAFAU8UVN7Uxv7zJOQ= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:message-id:in-reply-to:subject | |
:mime-version:content-type:content-transfer-encoding; s=default; | |
bh=dIpHRMQSTx2fOxO7owGoIZTIhIM=; b=u7IQgPRCtcjwx6stA06wyIDDtJHQ | |
XSjETJYyUbnd3V0o0eog9RkabgssCWwdMlfRxK+yB0RmdoP0cdPL9rICWJuI/27U | |
OUT5GGvwC90sIZtimRjmluOOj1jQyR7mec2G8kVDHe8P+s0QlOV5P88U+1TfQLU5 | |
QX82TZLEdhur+yg= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | Yes, score=5.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPAM_SUBJECT1 autolearn=no version=3.3.2 |
X-HELO: | smtp4-g21.free.fr |
Date: | Sun, 30 Aug 2015 01:50:54 +0200 (CEST) |
From: | lionel DOT victor AT free DOT fr |
To: | cygwin AT cygwin DOT com |
Message-ID: | <867681798.97570509.1440892254531.JavaMail.root@zimbra62-e11.priv.proxad.net> |
In-Reply-To: | <1628183512.97560026.1440891273577.JavaMail.root@zimbra62-e11.priv.proxad.net> |
Subject: | http://stackoverflow.com/questions/32166613/tab-completion-doesnt-complete-paths-with-escaped-space |
MIME-Version: | 1.0 |
X-Authenticated-User: | lionel DOT victor AT free DOT fr |
X-IsSubscribed: | yes |
Hello I've just installed cygwin on a Windows10 laptop and am experiencing a problem with tab completion under bash: Indeed, bash-completion stops working past the space character when changing to a path that contains a space or an escaped space. For example, I am in /cygdrive/c and type $ cd Pro -> pressing Tab key completes to "cd Program", pressing twice shows all directories with this "Program" prefix: Program Files/ Program Files (x86)/ ProgramData/ However, when I want to cd to "Program Files" and type: $ cd Program\ F -> pressing Tab does nothing: no completion, no suggestion. I found a workaround by removing the _cd() function from /etc/bash_completion but clearly that is not a good way to solve this bug. It is quite possible that tab_completion is not just broken with 'cd' and directories but it *may* also be broken for all files : I just haven't tried (sorry I'm running outta time). I'm not the only one: http://stackoverflow.com/questions/32166613/tab-completion-doesnt-complete-paths-with-escaped-space my setup: Windows 10 - bash 4.3.42 - everything was installed today (i.e. latest versions) ... The fact that I'm using the latest versions AND that removing a function from /etc/bash_completion suggests that this is a bug... :o) or maybe not ??? -> you tell me ! thanks in advance for your help. P.S.: Will post more under the same subject if I can find some time during the week (maybe a patch). -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |