Re: possible bash 4.0.10 bug: command substitution in PROMPT_COMMAND

2009-04-10 Thread Ian Kelling
Chet Ramey wrote: I cannot reproduce this using bash-4.0.10 or bash-4.0.17 on Mac OS X, Ubuntu, RHEL 4, or FreeBSD. Chet I can't reproduce it either. - Ian Kelling

Re: possible bash 4.0.10 bug: command substitution in PROMPT_COMMAND

2009-04-10 Thread Chet Ramey
Jared Yanovich wrote: > Hi, I upgraded to bash 4.0.10 and my PS1 prompt is no longer displaying > anything at all. Here is a contrived .bashrc: > > .bashrc: > BEGIN > f() > { > $(:) > PS1='$ ' > } > PROMPT_COMMAND=f > END

Re: possible bash 4.0.10 bug: command substitution in PROMPT_COMMAND

2009-04-10 Thread Greg Wooledge
On Thu, Apr 09, 2009 at 05:12:13PM -0400, Jared Yanovich wrote: > Specifically, I use this output of a command in my prompt (sorry to > offend anyone who finds that ridiculous), so it would be nice to have > the old functionality back if possible. You can do: PS1='$(your command) other stuff her

Re: possible bash 4.0.10 bug: command substitution in PROMPT_COMMAND

2009-04-10 Thread Ian Kelling
Jared Yanovich wrote: Hi, I upgraded to bash 4.0.10 and my PS1 prompt is no longer displaying anything at all. I think this was addressed in a recent patch. Try upgrading to the most recent version. - Ian Kelling