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

Session resurrection does not restore command #12

Closed
Kangaxx-0 opened this issue Nov 10, 2023 · 1 comment
Closed

Session resurrection does not restore command #12

Kangaxx-0 opened this issue Nov 10, 2023 · 1 comment
Assignees
Labels
upstream origin zellij might have the same issue

Comments

@Kangaxx-0
Copy link
Owner

In my win 11 + WSL + zellij + neovim, the command can't be restored

in my session-layout.kdl

layout {
    cwd "/"
    tab name="Zellij" focus=true hide_floating_panes=true {
        pane command="/tmp/.mount_nvimKkoOMY/usr/bin/nvim" cwd="home/gaxx/Github/zellij" focus=true {
            start_suspended true
        }
        pane size=1 borderless=true {
            plugin location="zellij:compact-bar"
        }
    }
    tab name="Tab #2" hide_floating_panes=true {

/tmp/.mount_nvimKkoOMY/usr/bin/nvim does not even exist on my local

I believe this issue also happens in zellij remote as well

@Kangaxx-0 Kangaxx-0 added the upstream origin zellij might have the same issue label Nov 10, 2023
@Kangaxx-0 Kangaxx-0 self-assigned this Nov 10, 2023
@Kangaxx-0
Copy link
Owner Author

It turns out my nvim is appImage.

When an AppImage is executed, it mounts itself using a filesystem in user space (FUSE). It often uses the /tmp directory for this purpose, creating a temporary file system where the AppImage is mounted. After process exists, the tmp path gets deleted

Pr to update zellij doc : zellij-org/zellij-org.github.io#217

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream origin zellij might have the same issue
Projects
None yet
Development

No branches or pull requests

1 participant