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
> 
> However, it works if I take the command substitution sequence `$(...)'
> out.  

I cannot reproduce this using bash-4.0.10 or bash-4.0.17 on Mac OS X,
Ubuntu, RHEL 4, or FreeBSD.

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/


Reply via email to