You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was a bug filed for spacemacs. I think that shell-pop-el is the source of the problem. syl20bnr/spacemacs#8538
In shell-pop.el in the function shell-pop--set-exit-action it checks if the shell is eshell or not. If it is a eshell then it runs the add-hook function:
There was a bug filed for spacemacs. I think that shell-pop-el is the source of the problem.
syl20bnr/spacemacs#8538
In shell-pop.el in the function shell-pop--set-exit-action it checks if the shell is eshell or not. If it is a eshell then it runs the add-hook function:
(add-hook 'eshell-exit-hook 'shell-pop--kill-and-delete-window nil t)
I think this causes eshell to exit before history gets written out. Changing the 'nil' to 't' appends the hook so the history gets saved.
(add-hook 'eshell-exit-hook 'shell-pop--kill-and-delete-window t t)
I am not a elisp programmer so I don't know if this is a 100% correct solution, but it works for me.
The text was updated successfully, but these errors were encountered: