Re: Problem with function cd in bash 4.0

2009-02-26 Thread Richard Leeden
-- View this message in context: http://www.nabble.com/Problem-with-function-cd-in-bash-4.0-tp22171999p0451.html Sent from the Gnu - Bash mailing list archive at Nabble.com.

Re: Problem with function cd in bash 4.0

2009-02-25 Thread Mike Frysinger
On Wednesday 25 February 2009 16:21:47 Chet Ramey wrote: Yep, it's a bug. Try the attached patch; it works for me. this introduces a bug of it's own though :/. you can no longer use ctrl+c to escape from unbalanced quotes. - type: echo ' - hit enter - hit ctrl+c over and over

Re: Problem with function cd in bash 4.0

2009-02-24 Thread Bernd Eggink
Chet Ramey schrieb: Bernd Eggink wrote: I normally wrap the builtin cd into a function cd, which does some additional things and then calls the builtin. Example: function cd { local list=$(echo *.bui) # ... builtin cd $1 } I have a PS1 like this: PS1=\\w \$ With

Re: Problem with function cd in bash 4.0

2009-02-24 Thread Chet Ramey
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

Problem with function cd in bash 4.0

2009-02-23 Thread Bernd Eggink
I normally wrap the builtin cd into a function cd, which does some additional things and then calls the builtin. Example: function cd { local list=$(echo *.bui) # ... builtin cd $1 } I have a PS1 like this: PS1=\\w \$ With bash 3, this worked well; cd-ing

Re: Problem with function cd in bash 4.0

2009-02-23 Thread Chet Ramey
Bernd Eggink wrote: I normally wrap the builtin cd into a function cd, which does some additional things and then calls the builtin. Example: function cd { local list=$(echo *.bui) # ... builtin cd $1 } I have a PS1 like this: PS1=\\w \$ With bash 3,