Re: Closing the Command Prompt using the "x" button doesn't update shell history file

2022-04-27 Thread Takashi Yano
On Thu, 24 Mar 2022 17:33:50 +0900 Takashi Yano wrote: > On Wed, 23 Mar 2022 15:11:20 -0400 > Mitchell Hentges wrote: > > To reproduce the issue: > > 1. Run Cygwin.bat to open a Cygwin shell in the "Command Prompt" terminal > > 2. Run some command, such as "echo test" > > 3. Click the Windows "x"

Re: Closing the Command Prompt using the "x" button doesn't update shell history file

2022-03-24 Thread Andy Koppe
On Thu, 24 Mar 2022, 08:34 Takashi Yano wrote: > On Wed, 23 Mar 2022 15:11:20 -0400 Mitchell Hentges wrote: > > To reproduce the issue: > > 1. Run Cygwin.bat to open a Cygwin shell in the "Command Prompt" terminal > > 2. Run some command, such as "echo test" > > 3. Click the Windows "x" button in

Re: Closing the Command Prompt using the "x" button doesn't update shell history file

2022-03-24 Thread Brian Inglis
On 2022-03-24 02:33, Takashi Yano wrote: On Wed, 23 Mar 2022 15:11:20 -0400 Mitchell Hentges wrote: To reproduce the issue: 1. Run Cygwin.bat to open a Cygwin shell in the "Command Prompt" terminal 2. Run some command, such as "echo test" 3. Click the Windows "x" button in the top-right corner

Re: Closing the Command Prompt using the "x" button doesn't update shell history file

2022-03-24 Thread Takashi Yano
On Wed, 23 Mar 2022 15:11:20 -0400 Mitchell Hentges wrote: > To reproduce the issue: > 1. Run Cygwin.bat to open a Cygwin shell in the "Command Prompt" terminal > 2. Run some command, such as "echo test" > 3. Click the Windows "x" button in the top-right corner of the terminal > > The terminal

Closing the Command Prompt using the "x" button doesn't update shell history file

2022-03-23 Thread Mitchell Hentges
To reproduce the issue: 1. Run Cygwin.bat to open a Cygwin shell in the "Command Prompt" terminal 2. Run some command, such as "echo test" 3. Click the Windows "x" button in the top-right corner of the terminal The terminal closes, but `$HOME/.bash_history` is not updated to include the "echo