Re: print/echo lost from COMMAND_PROMPT Function

2020-02-05 Thread Chet Ramey
On 2/4/20 4:59 PM, Manish Patel wrote: > Thank you Chet, > >   In that case, how do I compile my own bash with specific version of > readline? > I can not install readline to system but I can compile both in my home > directory. You can grab any readline distribution from the usual GNU sources, b

Re: print/echo lost from COMMAND_PROMPT Function

2020-02-04 Thread Manish Patel
Thank you Chet,   In that case, how do I compile my own bash with specific version of readline? I can not install readline to system but I can compile both in my home directory. Thanks Manish. On 2/4/20 10:07 AM, Chet Ramey wrote: > On 2/3/20 3:26 PM, Manish Patel wrote: > >> Bash Version: 4.4 >

Re: print/echo lost from COMMAND_PROMPT Function

2020-02-04 Thread Chet Ramey
On 2/3/20 3:26 PM, Manish Patel wrote: > Bash Version: 4.4 > Patch Level: 20 > Release Status: release > > Description: >     Print/echo is lost when generated from a function in > COMMAND_PROMPT and placed in background in subshell. > > I have embedded some git information in my command pro

print/echo lost from COMMAND_PROMPT Function

2020-02-03 Thread Manish Patel
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE