Re: BASH_COMMAND should be set before PS0

2022-03-21 Thread Chet Ramey
On 3/19/22 1:07 PM, Taqras via Bug reports for the GNU Bourne Again SHell wrote: Bash Version: 5.1 Patch Level: 16 Release Status: release Description:     PS0:   The value of this parameter is expanded like PS1 and displayed by   interactive shells after reading a command and befor

Re: BASH_COMMAND should be set before PS0

2022-03-19 Thread Alex fxmbsw7 Ratchev
a small cosmetic workaround fix trap 'cmd=$BASH_COMMAND' DEBUG PS1='$cmd' On Sat, Mar 19, 2022 at 6:12 PM Taqras via Bug reports for the GNU Bourne Again SHell wrote: > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc > Compil

BASH_COMMAND should be set before PS0

2022-03-19 Thread Taqras via Bug reports for the GNU Bourne Again SHell
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/bin' -DSTANDARD_UTILS_PATH='/usr/bin' -DSYS_BASHRC='/etc/b