Skip to content
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

Pane content not restoring properly with fish shell #526

Open
buidai123 opened this issue Nov 27, 2024 · 3 comments · May be fixed by #528
Open

Pane content not restoring properly with fish shell #526

buidai123 opened this issue Nov 27, 2024 · 3 comments · May be fixed by #528

Comments

@buidai123
Copy link

buidai123 commented Nov 27, 2024

When I run the restore process, I get the following error:
cat: '/home/monarch/.local/share/tmux/resurrect/restore/pane_contents//pane-0:1.0': No such file or directory

The nvim session is restoring properly, but the pane content is not working as expected. I've tried debugging the restore process, and it seems that the tar file is being saved correctly, but the restoration of pane contents is failing.

the tar file is being saved correctly:
.rw-r--r-- 1.1k monarch 27 Nov 09:51 pane_contents.tar.gz

its contents appear to be valid:

.rw-r--r-- 5.9k monarch 27 Nov 09:51  pane-0:1.0
.rw-r--r-- 3.7k monarch 27 Nov 09:51  pane-0:2.0

I've also checked the default-command setting:

❯ tmux show -g default-command
default-command ''

My tmux configuration:

my tmux conf

Additional information:

  • OS: Arch Linux
  • Shell: fish
  • tmux version: tmux 3.5_a-1
@JacobHayes
Copy link

I've noticed this too but it hasn't always been broken on fish (I think it broke in the last ~year?). My guess is the double // in the file path doesn't work on fish (but maybe does in other shells)?

I'm on:

$ tmux -V
tmux 3.5a
$ fish -v
fish, version 3.7.1

@JacobHayes
Copy link

JacobHayes commented Dec 19, 2024

@buidai123 does #528 fix it for you? Guessing it won't get merged (at least for quite a while)

@buidai123
Copy link
Author

@JacobHayes yoo! it worked, thank you sm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants