From: Tassilo Horn <tsdh@gnu.org>
To: zsh-users@zsh.org
Subject: Re: ZSH history not saved anymore
Date: Thu, 25 Sep 2014 09:10:04 +0200 [thread overview]
Message-ID: <8738bg2n1v.fsf@thinkpad-t440p.tsdh.org> (raw)
In-Reply-To: <20140924200710.2f764272@pws-pc.ntlworld.com>
Peter Stephenson <p.w.stephenson@ntlworld.com> writes:
Hi Peter,
>> I've just started using enlightenment 19 coming from Gnome. Now my
>> terminal emulator is terminology instead of gnome-terminal.
>>
>> Today, I've noticed that since then my ZSH history file doesn't get
>> updated anymore. That is, when terminating the terminal emulator, it
>> seems that ZSH has no chance to save the histfile anymore. As a
>> workaround I can just quit ZSH before terminating terminology using
>> the "exit" command.
>
> The terminal should send SIGHUP to the shell and give it a chance to
> handle it.
>
> If you do
>
> TRAPHUP() {
> print "Exiting on signal" >~/zsh_exited
> exit
> }
>
> do you see the message being written to the file ~/zsh_exited?
Nope, there's no such file after terminating the terminal emulator, so a
missing SIGHUP is probably the problem. Sending it to the ZSH process
using kill -SIGHUP works. Thanks for your help in clearing that up.
Bye,
Tassilo
next prev parent reply other threads:[~2014-09-25 7:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-23 21:03 Tassilo Horn
2014-09-24 19:07 ` Peter Stephenson
2014-09-25 7:10 ` Tassilo Horn [this message]
2014-09-26 7:04 ` Bart Schaefer
2014-09-26 8:15 ` Tassilo Horn
2014-09-26 14:58 ` Kurtis Rader
2014-09-26 20:04 ` Tassilo Horn
2014-09-26 20:34 ` Kurtis Rader
2014-09-27 8:05 ` Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8738bg2n1v.fsf@thinkpad-t440p.tsdh.org \
--to=tsdh@gnu.org \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).