> > I have found that when bash completion is activated, the output of the
> > set command is exagerately verbose, as if bash was ran with the
> > parameter -x.
> >
> > This renders the set command unusable, thus the severity.
> > I haven't checked, but I belive this could break bash scripting
> > (although I doubt it as the console will not be in interactive mode, so
> > there might be no interference from the completion).
> 
> There's not much that can be done about this, I'm afraid. The set
> built-in displays the current environment, and that includes any
> functions that have been defined. bash completion makes heavy use of
> shell functions.
> 
> It would be nice if there were an option to set to display the
> environment minus any defined shell functions. Perhaps this could be
> suggested to the bash maintainer, Chet Ramey.

I think this could be a good approach to the problem. I don't find any
reason for the functions to be added to the environment.

-- 
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein

Reply via email to