> > How about giving programmable completion a new hook that allows the
> > user/compspec author to display the completions? That is a general
> > solution.
> >
>
> I thought only about $COMPREPLY because it's what I was using and
> thought it would be just a quick & dirty hack. Of course a hoo
Hi,
I have command completion in my bash command. But I need to input tab
in the command line. Is there a way to do so?
--
Regards,
Peng
Hi,
I have a directory named '\E' (two letters, rather than a single
special character). I have the following $PS1 variable.
$ echo $PS1
${debian_chroot:+($debian_chroot)}...@\h:\w\$
When my current directory is '\E', the prompt shows a special
character (I think that it should be the special ch
> I have command completion in my bash command. But I need to input tab
> in the command line. Is there a way to do so?
Quote the with V.
$ echo ' ' | od -c # e c h o V
000 \t \n
002
$ echo '' | od -c # e c h o
000 \n
001
$
--
On 7/10/10 9:57 PM, Peng Yu wrote:
> Hi,
>
> I have a directory named '\E' (two letters, rather than a single
> special character). I have the following $PS1 variable.
>
> $ echo $PS1
> ${debian_chroot:+($debian_chroot)}...@\h:\w\$
>
> When my current directory is '\E', the prompt shows a specia
On Sat, Jul 10, 2010 at 9:52 PM, Chet Ramey wrote:
> On 7/10/10 9:57 PM, Peng Yu wrote:
>> Hi,
>>
>> I have a directory named '\E' (two letters, rather than a single
>> special character). I have the following $PS1 variable.
>>
>> $ echo $PS1
>> ${debian_chroot:+($debian_chroot)}...@\h:\w\$
>>
>>
On Sat, Jul 10, 2010 at 10:00 PM, Peng Yu wrote:
> On Sat, Jul 10, 2010 at 9:52 PM, Chet Ramey wrote:
>> On 7/10/10 9:57 PM, Peng Yu wrote:
>>> Hi,
>>>
>>> I have a directory named '\E' (two letters, rather than a single
>>> special character). I have the following $PS1 variable.
>>>
>>> $ echo $
On 7/10/10 11:00 PM, Peng Yu wrote:
> On Sat, Jul 10, 2010 at 9:52 PM, Chet Ramey wrote:
>> On 7/10/10 9:57 PM, Peng Yu wrote:
>>> Hi,
>>>
>>> I have a directory named '\E' (two letters, rather than a single
>>> special character). I have the following $PS1 variable.
>>>
>>> $ echo $PS1
>>> ${debi