-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Pane command history (bash history) is not saved/restored #310
Comments
Anyone have ideas on this? Is this the actual/expected behavior? |
+1 |
Happens to me too. |
Is no one maintaining this repo anymore? #318 should be merged. |
unfortunately, I think this project is more or less dead |
Bash history restore feature is deprecated and will be fully removed soon. |
Is there a plan to bring this feature back? |
I have this issue too, why was the feature deprecated, it is extremely useful when using a terminal to be able to access your history. |
What to do now? |
The feature was deprecated in this commit for this reason:
And it was later removed completely in this commit. A lot of relevant discussions happened in issue #288. Specifically this comment, where a potential workaround is proposed. I have tried the solution and it does work for me. I'll quote the comment here for posterity:
|
Is there any way to restore pane history with or without this plugin? |
Only the most recently used command for each pane is really strictly necessary, I think. That would mean that when resurrect has finished, I can just go through the panes and press Does that make finding a solution simpler? |
This doesn't work. Are you referring to using the work around discussed here: BSteffaniak |
I just meant that it's the only thing I would really really need from a fix to this problem. Not the whole history but just the most recently used command in a given pane. |
I have to agree with @rob-levy-minimum, I'm also looking for something similar. It's a bit sad that such an obvious feature for a project like this was removed, given that people have found multiple ways to go around its possible drawbacks. |
I am not sure if this is a continuum or a resurrect issue)
Am I missing a configuration somewhere?
I have 5 panes set up in my session, and I have the following config:
When I reboot, then run
tmux
, my last session of 5 panes is restored. I even see the outputs in each pane as they appeared before reboot. However, when I navigate through each pane and use the up arrow key to re-run the most recently run command in said pane, the command is incorrect. In fact, they all show the same command (the last command I executed in any terminal session, anywhere, before reboot). So, if I rebooted from the command line withsudo reboot
, the last command (hitting up arrow once) in each pane issudo reboot
.I must be missing something, right? I've tried lots of googling and combing through issues here to no avail. Thanks in advance for the help.
The text was updated successfully, but these errors were encountered: