Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ZSH history not saved anymore



On Sep 25,  9:10am, Tassilo Horn wrote:
}
} > 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.

That still seems a little strange.  If zsh doesn't get HUP, then it
should get EOF and write the history at that point.  Something may
be killing it off (with a signal stronger than HUP) before it has a
chance to finish writing.



Messages sorted by: Reverse Date, Date, Thread, Author