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

Save single session #447

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

maybeetree
Copy link

Dear maintainer,

Thank you for your work on tmux-resurrect and for taking time to consider my pull request. In short, it adds the following features:

  1. scripts/save.sh now allows saving only a single session, using the -t parameter. For example: ./save.sh -t my_session
  2. There is now a new keybind, C-t, which saves only the currently focused session. This keybind is documented in docs/custom_key_bindings.md and README.md
  3. When using the above features, the state line is not written to the save file. This is to avoid errors when restoring, in case the session that was in focus when saving is different to the session that was saved.

Unfortunately, there is one breaking change: due to the nature of getopts, suppressing the output of save.sh is now done with the -q flag (i.e. ./save-sh -q), instead of the quiet argument.

This pull request should resolve issue #427 .

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 this pull request may close these issues.

1 participant