bug-bash
[Top][All Lists]
Advanced

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

Re: Why complete doesn't print anything if it is called in a bash script


From: Peng Yu
Subject: Re: Why complete doesn't print anything if it is called in a bash script?
Date: Sat, 12 Nov 2011 10:05:52 -0600

On Sat, Nov 12, 2011 at 10:01 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Peng Yu <pengyu.ut@gmail.com> writes:
>
>> It is strange to me why complete doesn't print anything when it is
>> called in a bash script. I must have misunderstood some fundamentals.
>> Does anybody know why? Thanks!
>
> If complete does not print anything then there are no completions
> defined.

The question is why. I have source my bashrc, as you can see there are
completions defined in the interactive shell.

-- 
Regards,
Peng



reply via email to

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