[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with function cd in bash 4.0
From: |
Chet Ramey |
Subject: |
Re: Problem with function cd in bash 4.0 |
Date: |
Tue, 24 Feb 2009 16:48:26 -0500 |
User-agent: |
Thunderbird 2.0.0.19 (Macintosh/20081209) |
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 chet@case.edu http://cnswww.cns.cwru.edu/~chet/