tmux-plugins / tmux-resurrect

Persists tmux environment across system restarts.
MIT License
11.35k stars 423 forks source link

Resurrect can not save and restore fish shell history #217

Open ghost opened 6 years ago

ghost commented 6 years ago

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.

ghost commented 6 years ago

Can anyone confirm if this is the correct approach to fixing? (are there any nuances to pay attention to?)

Starefossen commented 6 years ago

Experiencing the same problem with fish, I'm interested in getting this feature working 😄

ghost commented 6 years ago

I'm moderately sure fish would need to work on it's history command for a good solution to this (see the reference above).

hristod commented 3 months ago

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?