[Help-bash] Different completion behavior for ':' when there are other f
From:
Peng Yu
Subject:
[Help-bash] Different completion behavior for ':' when there are other files or not
Date:
Wed, 8 May 2013 23:00:30 -0500
Hi,
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
Is it a bug in bash? Or I need to somehow configure bash correctly?
--
Regards,
Peng