Symlink to drive and space in directory name leads to DOS warning

Eric Blake eblake@redhat.com
Mon May 2 16:12:00 GMT 2011


On 05/02/2011 10:04 AM, Thrall, Bryan wrote:
> AFAIK, I am not using bash-completion; the package is installed, but I don't source /etc/bash_completion in my ~/.bashrc.

You don't have to manually source it in ~/.bashrc - these days, merely
installing bash-completion adds /etc/profile.d/bash_completion, which is
automatically sourced for all interactive bash shells.

>> $ set -vx
>> $ pushd ~/myuserdrv/My\ Down[TAB]
>>
>> might give me some insight where to look at plugging the leak?
> 
> I don't think there's much help there, unfortunately:
> 
> thrall@pc1163-8413-xp ~
> $ set -vx
> settitle
> ++ settitle
> ++ echo -ne '\033]0;bash\007'
> thrall@pc1163-8413-xp ~
> $ pushd ~/myuserdrv/My\ Downcygwin warning:

Well, it _does_ help.  'complete -p pushd' shows 'complete -d pushd',
which is the setting installed by bash-completion.  But the pushd
default completions mean that the problem is in bash itself, not in
bash-completion.  So it gives me somewhere further to look.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20110502/d526b58e/attachment.sig>


More information about the Cygwin mailing list