Title: new session with same windows · Issue #590 · tmux-python/tmuxp · GitHub
Open Graph Title: new session with same windows · Issue #590 · tmux-python/tmuxp
X Title: new session with same windows · Issue #590 · tmux-python/tmuxp
Description: Step 1: Provide a summary of your problem I often open several sessions of tmux with the same set of windows. To do so, i use tmux new -t initial_session_name. I use this to have tmux on several screens or workspaces. I use tmuxp to set ...
Open Graph Description: Step 1: Provide a summary of your problem I often open several sessions of tmux with the same set of windows. To do so, i use tmux new -t initial_session_name. I use this to have tmux on several sc...
X Description: Step 1: Provide a summary of your problem I often open several sessions of tmux with the same set of windows. To do so, i use tmux new -t initial_session_name. I use this to have tmux on several sc...
Opengraph URL: https://github.com/tmux-python/tmuxp/issues/590
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"new session with same windows","articleBody":"### Step 1: Provide a summary of your problem\r\n\r\nI often open several sessions of tmux with the same set of windows. To do so, i use `tmux new -t initial_session_name`. I use this to have tmux on several screens or workspaces.\r\nI use tmuxp to set the initial layout, but also the environment variables and starting directory. \r\nThe problem i have is that if a session is already running, tmuxp will attach itself to the existing session. Therefore, I can't have different pane/windows on multiple screens/workspaces.\r\n\r\nI wonder if it is possible to use tmuxp to open a new session with the same windows (same that with `tmux new -t initial_session_name`), and also set the environment variables and the starting directory, so that when I open a pane, those environment variables are set.\r\n\r\nIf not, I think it would be nice to add an option to do so (maybe `-n` for \"new\" session).\r\n*Maybe this could be implemented as a new command with a plugin system so that it could be tested as a module without adding potential bugs to the existing users.*\r\n\r\n### Step 2: Provide tmuxp details\r\n * Python 3.8.1\r\n * tmux 3.1_b\r\n * tmuxp 1.5.4\r\n * zsh\r\n\r\n### Step 3: Describe your environment\r\n * Architecture: x86_64\r\n * OS version: up to date archlinux","author":{"url":"https://github.com/locnide","@type":"Person","name":"locnide"},"datePublished":"2020-05-30T13:34:41Z","url":"https://github.com/tmux-python/tmuxp/issues/590"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d7cf825a-3d93-9497-0463-f8aeda5c5a9f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8190:2970F3:290407:377080:6B00871E |
| html-safe-nonce | 2dc63f5e484dd29a00c2a9bbceb49d14522e1c9c4a71d5e72b6faebd8528e365 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTkwOjI5NzBGMzoyOTA0MDc6Mzc3MDgwOjZCMDA4NzFFIiwidmlzaXRvcl9pZCI6IjU3MDE4OTM4NzI2NjIxMjAyMjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5ece7b023c7a88bd50075175afd1010d195b213a57ec7e95fe5c675db4d6f28e |
| hovercard-subject-tag | issue:627733413 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/tmux-python/tmuxp/590/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dcfa9d58645f72145e22b64bc7c54558c36cca882ba4ecf6ea98d025771bb1d5/tmux-python/tmuxp/issues/590 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dcfa9d58645f72145e22b64bc7c54558c36cca882ba4ecf6ea98d025771bb1d5/tmux-python/tmuxp/issues/590 |
| og:image:alt | Step 1: Provide a summary of your problem I often open several sessions of tmux with the same set of windows. To do so, i use tmux new -t initial_session_name. I use this to have tmux on several sc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | locnide |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4d3d8e50f02c1d7bf86d5acfa1d3bfe9366abd6528a6b429eb07a168429d2b61 |
| turbo-cache-control | no-preview |
| go-import | github.com/tmux-python/tmuxp git https://github.com/tmux-python/tmuxp.git |
| octolytics-dimension-user_id | 37234308 |
| octolytics-dimension-user_login | tmux-python |
| octolytics-dimension-repository_id | 12398170 |
| octolytics-dimension-repository_nwo | tmux-python/tmuxp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 12398170 |
| octolytics-dimension-repository_network_root_nwo | tmux-python/tmuxp |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | db758f8e02b8257935fb03edf81a3e76eb3abd11 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width