View Single Post
Posts: 55 | Thanked: 72 times | Joined on Nov 2009
#10
Originally Posted by lma View Post
Note also the easier workaround buried at the end of bug 5317 comment 7:

Code:
echo "trap exit SIGHUP SIGINT SIGTERM" >> /home/user/.profile
(though I think catching just SIGHUP should be enough for the osso-xterm case).
Yeah, I can confirm that just
Code:
echo 'trap exit SIGHUP' >> .profile
makes ash save history even if you just close the xterm.