tmux-resurrect
tmux-resurrect copied to clipboard
Resurrect can not save and restore fish shell history
The save code is probably this: https://github.com/tmux-plugins/tmux-resurrect/blob/master/scripts/save.sh#L145 The restore code: https://github.com/tmux-plugins/tmux-resurrect/blob/master/scripts/restore.sh#L273
Presumably there just needs to be a branch with the appropriate fish shell history commands.
Can anyone confirm if this is the correct approach to fixing? (are there any nuances to pay attention to?)
Experiencing the same problem with fish, I'm interested in getting this feature working 😄
I'm moderately sure fish would need to work on it's history command for a good solution to this (see the reference above).
Anyone had any success in making Fish work with tmux-resurrect? I get my panes restored, but the path in panes all defaults to ~. Is this something I could fix with configuration?
Edited: I thought what I want was restoring fish shell history, but actually it's NOT. What I want is actually restoring pane contents (scrollback history). This feature is already supported and set -g @resurrect-capture-pane-contents 'on' is working very well. I am very sorry about the confusion and previous comment.