Skip to content

MacOS restore returned 2 #445

@PushUpek

Description

@PushUpek

For MacOS 13.0beta and tmux 3.3a restore not working. When I hit prefix + ctr+r I get error:
'/Users/pushupek/.tmux/plugins/tmux-resurrect/scripts/restore.sh' returned 2

So after some digging it turned out that when I call ./restore.sh it exit with errors:

/Users/pushupek/.tmux/plugins/tmux-resurrect/scripts/restore.sh: line 205: syntax error near unexpected token `<'
/Users/pushupek/.tmux/plugins/tmux-resurrect/scripts/restore.sh: line 205: `    done < <(echo "$pane")'

But after adding set +o posix after shebang in restore.sh it runs correctly. I don't know if its correct way to fix this issue (I don't know bash very well)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions