On 11/12/11 10:41 AM, Peng Yu wrote:
> Hi,
> 
> 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!

Since complete happily shows completions when run from a shell script,
there must be code in your bashrc that prevents them from being
defined if the shell is not interactive.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to