Re: Temporary history file not being removed from home directory

2024-09-09 Thread Dmytro Bagrii
On 09.09.24 17:02, Chet Ramey wrote: This doesn't seem like the whole story. You probably have PROMPT_COMMAND set to append the history at every command (otherwise, the temp file would not `reappear' after some time). My PROMPT_COMMAND is the following: PROMPT_COMMAND=([0]="printf \"\\033]0;%

Re: Temporary history file not being removed from home directory

2024-09-09 Thread Chet Ramey
On 9/7/24 6:04 AM, Dmytro Bagrii wrote: Bash Version: 5.2 Patch Level: 32 Release Status: release Description: Sometimes .bash_history-X.tmp file remains present in $HOME directory. Both ~/.bash_history and ~.bash_history-X.tmp are 65536 lines long, as specified by $HISTFILESIZE. ~/.b

Temporary history file not being removed from home directory

2024-09-07 Thread Dmytro Bagrii
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 -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-