On Sat, Nov 12, 2011 at 10:01 AM, Andreas Schwab <sch...@linux-m68k.org> wrote: > Peng Yu <pengyu...@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