help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Different completion behavior for ':' when there are oth


From: Chet Ramey
Subject: Re: [Help-bash] Different completion behavior for ':' when there are other files or not
Date: Thu, 09 May 2013 16:43:44 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 5/9/13 1:01 AM, Chris Down wrote:
> On 2013-05-08 23:00, Peng Yu wrote:
>> In /tmp/a, there is only ':', but nothing else.
>>
>> /tmp/a$ mkdir :
>> /tmp/a$ cd :<TAB>
>>
>> The command completion of the above one becomes the following (which
>> is not correct).
>>
>> /tmp/a$ cd :\:/
>>
>> But if I create an addition file, then the command completion of 'cd
>> :<TAB>' will work correctly.
>> /tmp/a$ touch xxx.txt
> 
> I can reproduce this, with the caveat that in my case it *doesn't* fix itself
> when there are other files:

Your second case, after adding a second file, is not the same as the
original report.

- -- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlGMCoAACgkQu1hp8GTqdKso1gCgjuXaei0BIpREZ6a3KZLlMq/3
WhAAmwfAq43GRVebvWd/dhBxqCaxEp18
=5Cz3
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]