Richard Leeden wrote: > Unfortunately doesn't work for me.... > > I'm doing something to Bernd - i.e. I have a function called cd that calls > the builtin cd after doing some extra things. In bash 4.0 with my cd > function enabled I get a bus error and the shell quits each time I attempt a > tab completion on cd. To make things easier I replaced my (rather > complicated) function with the very simple:
That's a problem with completion, not anything to do with whether you have a function named `cd' defined. I posted a patch for this earlier. Look at http://lists.gnu.org/archive/html/bug-bash/2009-02/msg00153.html and see if it fixes things for you. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/