{"action":"created","issue":{"url":"https://api.github.com/repos/tmux-plugins/tmux-resurrect/issues/71","labels_url":"https://api.github.com/repos/tmux-plugins/tmux-resurrect/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/tmux-plugins/tmux-resurrect/issues/71/comments","events_url":"https://api.github.com/repos/tmux-plugins/tmux-resurrect/issues/71/events","html_url":"https://github.com/tmux-plugins/tmux-resurrect/issues/71","id":56931126,"number":71,"title":"Multiple linked tmux sessions, once saved, become restored as separated sessions","user":{"login":"unphased","id":1542910,"avatar_url":"https://avatars.githubusercontent.com/u/1542910?v=3","gravatar_id":"","url":"https://api.github.com/users/unphased","html_url":"https://github.com/unphased","followers_url":"https://api.github.com/users/unphased/followers","following_url":"https://api.github.com/users/unphased/following{/other_user}","gists_url":"https://api.github.com/users/unphased/gists{/gist_id}","starred_url":"https://api.github.com/users/unphased/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unphased/subscriptions","organizations_url":"https://api.github.com/users/unphased/orgs","repos_url":"https://api.github.com/users/unphased/repos","events_url":"https://api.github.com/users/unphased/events{/privacy}","received_events_url":"https://api.github.com/users/unphased/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tmux-plugins/tmux-resurrect/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-02-07T23:44:26Z","updated_at":"2015-02-10T11:49:33Z","closed_at":"2015-02-10T02:36:08Z","body":"A common workflow of mine is I set up a tmux session on my Macbook, and then in order to leverage tmux for extra screen space, SSH from another machine and connect using `tmux new-session -t <name>`. This **shares** the session with the existing one, while allowing filling the screen (if i view two different windows). I.e. they are different sessions but they share the running processes!\r\n\r\nNow once I have this whole thing set up if I use resurrect to save and then subsequently restore it after my machine reboots for example, what happens is two **separate** sessions of similar initial configuration are created!\r\n\r\nSo this obviously leads to spawning twice as many instances of shells and other restored apps. And it's a mess that I have to clean up.\r\n\r\nMaybe what i need is a way to configure the bind such that when i save a session, it will only save the current session instead of all sessions. More properly, it should only take the set of separate sessions and not save any of the \"linked\" sessions. "},"comment":{"url":"https://api.github.com/repos/tmux-plugins/tmux-resurrect/issues/comments/73687139","html_url":"https://github.com/tmux-plugins/tmux-resurrect/issues/71#issuecomment-73687139","issue_url":"https://api.github.com/repos/tmux-plugins/tmux-resurrect/issues/71","id":73687139,"user":{"login":"bruno-","id":1042682,"avatar_url":"https://avatars.githubusercontent.com/u/1042682?v=3","gravatar_id":"","url":"https://api.github.com/users/bruno-","html_url":"https://github.com/bruno-","followers_url":"https://api.github.com/users/bruno-/followers","following_url":"https://api.github.com/users/bruno-/following{/other_user}","gists_url":"https://api.github.com/users/bruno-/gists{/gist_id}","starred_url":"https://api.github.com/users/bruno-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruno-/subscriptions","organizations_url":"https://api.github.com/users/bruno-/orgs","repos_url":"https://api.github.com/users/bruno-/repos","events_url":"https://api.github.com/users/bruno-/events{/privacy}","received_events_url":"https://api.github.com/users/bruno-/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T11:49:33Z","updated_at":"2015-02-10T11:49:33Z","body":"Great, thank you. This code is now pushed to master."}}