Commit Graph

  • 068272bbcb Changed helpers.sh and save.sh to allow simultaneously working on and maintaining multiple independent resurrect session files. Should resolve #246, and #389. Description of changes: 1) File helpers.sh: function get_tmux_option() now has an optional 3rd argument that can be used to pass custom option to tmux show-option command. This is used in function resurrect_dir() to pickup session local value of @resurrect-dir instead of using a global @resurrect-dir. Using session local values for @resurrect-dir is needed to maintain and simultaneously work with multiple different resurrect session files. 2) File save.sh: a missing filter has been applied to tmux list-sessions, tmux-listpanes, and tmux-listwindows. The filter does this: at time of saving a resurrect session, it checks if the current (attached) session is in a group. If that is true then the filter passes only sessions/panes/windows that belong to current (attached) group. Thus only current group's sessions/panes/windows are saved. If that is false, then filter passes only current (attached) session's panes and windows. Thus only current (attached) session's panes/windows are saved. Both changes to 1) and 2) together are required to enable working on multiple different resurrect sessions simultaneously, and independently. The effect of maintaining, working on multiple different resurrect sessions simultaneously can be achieved by the user by setting different values for @resurrect-dir. I confirm testing new capability. Robin Stern 2021-07-08 01:01:09 -0700
  • 54810c68ae
    Merge 319c129cbd into 716b958145 Pokey Rule 2021-07-06 20:01:49 +0300
  • 716b958145
    enable tilde expansion ( aka ~ ) into /home/ubuntu in saved session files's paths Yordan Georgiev 2021-06-14 05:45:47 +0000
  • 0db2a503b8 add .editorconfig, enable tilde expansion ( aka ~ ) into /home/ubuntu in saved session files's paths Yordan Georgiev 2021-06-14 05:45:47 +0000
  • abbc4fbfc4
    Merge pull request #381 from chrysn-pull-requests/doc-improvement Bruno Sutic 2021-03-18 11:52:35 +0100
  • dff7b2d2ae More explicit warning of restoring :all: programs chrysn 2021-03-17 12:54:21 +0100
  • 1c0eae57c8
    Merge pull request #325 from alfredbez/master Bruno Sutic 2021-03-13 11:49:28 +0100
  • afcddf8b9e Add link to how-to restore to a previously saved environment alfredbez 2020-01-10 15:21:25 +0100
  • 4a36ded50f
    Merge pull request #376 from coldeasy/patch-1 Bruno Sutic 2021-02-02 16:00:52 +0100
  • 76656c510b
    Add extra detail around using MacVim Colin Deasy 2021-02-01 15:34:21 +0000
  • d1d129b0de
    Merge 09f3d98ae4 into e4825055c9 Dylan Chong 2020-11-05 21:30:36 +0000
  • 0e743b126a
    Added support for saving and restoring named sessions as the default: Timmy Jose 2020-10-02 20:02:43 +0530
  • e4825055c9
    Merge pull request #361 from diegoximenes/fix/restore_window_renaming Bruno Sutic 2020-09-18 10:59:01 +0200
  • b6cbf652c4 Fix rename-window's target-window during restore Diego Ximenes 2020-09-18 00:47:32 -0300
  • 54c18e4840
    Merge 518d9a3ec3 into 123d83c668 Javier Palacios 2020-08-21 12:01:28 -0400
  • 123d83c668
    Do not output deleted files to stdout Bruno Sutic 2020-08-17 10:32:11 +0200
  • e815c50f13
    Make backup retention period configurable Ash Berlin-Taylor 2018-08-17 21:20:16 +0100
  • 5f5f9d8fd5
    Kill session 0 if it's not restored Bruno Sutic 2020-08-03 08:58:41 +0200
  • 78d67e4dcb
    Merge pull request #211 from malkomalko/mm-rename-window Bruno Sutic 2020-07-27 09:18:18 +0200
  • da1a755802
    Whitespace cleanup Bruno Sutic 2020-06-14 11:37:47 +0200
  • e4e21f3f48
    Restore command args for inline strategies with '*' Bruno Sutic 2020-06-14 11:33:31 +0200
  • bd671b83dc
    Don't be too smart when restoring vim session Bruno Sutic 2020-06-05 09:21:51 +0200
  • 5c69748392 Restoring pane title c3r34lk1ll3r 2020-05-07 10:41:57 +0200
  • 327c0481ad
    Add 'view' to the list of restored processes Bruno Sutic 2020-03-21 23:51:28 +0100
  • fc9602cfe3 Fix a race condition when restoring pane contents Jamie Kirkpatrick 2020-02-13 22:01:10 +0000
  • 12442b0d3e
    Add Makefile for distribution packaging Sergio Lindo 2020-02-12 14:55:20 +0100
  • 905abba3c3
    Merge pull request #283 from rummik/cmdline Bruno Sutic 2019-12-17 18:03:06 +0100
  • 2382467b8e
    Change `CPID` to something a little less cryptic *Kim Zick 2019-12-17 11:04:45 -0500
  • 17cf30a69c
    Rename cmdline.sh to linux_procfs.sh *Kim Zick 2019-12-17 11:00:52 -0500
  • 518d9a3ec3 BUGFIX: restore alias fail on first invocation Javier Palacios 2019-12-08 23:21:21 +0000
  • 1160c1da71
    only add -l when default_shell is bash Helmut K. C. Tessarek 2019-12-05 18:50:41 -0500
  • 198f40134c
    replace backticks, quote default-shell var (just in case) Helmut K. C. Tessarek 2019-12-06 05:55:48 -0500
  • f6c706b5fe
    only add -l when default_shell is bash Helmut K. C. Tessarek 2019-12-05 18:50:41 -0500
  • bd1d72aed5 Alias not properly displayed on warning splash Javier Palacios 2019-11-30 11:10:54 +0000
  • 82343c3092 Add alias information if panel zero is saved Javier Palacios 2019-11-28 21:49:41 +0000
  • e856c5798b BUGFIX: zero pane might not be the first line in last state file Javier Palacios 2019-11-28 21:32:18 +0000
  • c66b791fff
    Merge pull request #281 from lwilke/hotfix/94_use_login_shell_with_default_shell Bruno Sutic 2019-11-27 14:56:15 +0100
  • 57a12846eb BUGFIX: value of windows numbering base not everywhere considered Javier Palacios 2019-11-26 22:04:15 +0000
  • ff149c27c8 Don't remove existing panes Javier Palacios 2019-11-26 21:48:34 +0000
  • d903192a8c Issue messages about unsupported scenarios Javier Palacios 2019-11-26 20:42:27 +0000
  • e4ea6973aa Add alias to restore contents of first pane Javier Palacios 2019-11-26 01:50:57 +0000
  • 71fee881e4 BUGFIX: not taken into account the value of window numbering base Javier Palacios 2019-11-25 17:21:15 +0100
  • 73bb91514c Kill all non-restored panes Javier Palacios 2019-11-24 23:14:41 +0000
  • 65f79e4295 Create empty panes when required Javier Palacios 2019-11-24 21:58:24 +0000
  • ec4764d7ed Kill the very first panel if not registered Javier Palacios 2019-11-24 20:28:19 +0000
  • 46120e383c BUGFIX: wrong pane_id avoids content restoration Javier Palacios 2019-11-24 20:18:09 +0000
  • 5293ac7da2 BUGFIX: '%' character lost while ordering Javier Palacios 2019-11-24 15:11:16 +0000
  • 86067af888 Save state ordering by pane number Javier Palacios 2019-11-24 14:39:04 +0000
  • bb87c435cc Use unique pane ID instead of index within window Javier Palacios 2019-11-24 13:12:51 +0000
  • 871f1fdbd1 allow children of tmux to be saved Spencer Butler 2019-10-31 19:36:20 -0500
  • 0f0ec12e92
    Merge pull request #308 from tmux-plugins/deprecate_restoring_shell_history Bruno Sutic 2019-10-21 12:03:38 +0200
  • e903025c2c Use 'cat' command always Rebecca Turner 2019-10-18 14:11:51 -0400
  • d7825683d1
    Deprecate restoring shell history Bruno Sutic 2019-08-27 13:26:29 +0200
  • 8462bf2a55 Add resurrect-limit-shell-history option Marc Orr 2019-08-26 17:07:13 -0700
  • 319c129cbd Add support for linked windows Pokey Rule 2019-06-17 17:01:49 +0100
  • e3f05dd34f
    Update README.md Bruno Sutic 2019-04-19 12:44:26 +0200
  • 7e0e42a52a Just formatting. Daniel Mladek 2019-04-03 14:42:50 +1300
  • d42d8fa553 Corrected what is the expected value of the $CURRENT_DIR It is neccessary for the cases when runnign the scripts without a possibility of using key bindings as adviced in issue #179 https://github.com/tmux-plugins/tmux-resurrect/issues/179 Daniel Mladek 2019-04-03 14:33:58 +1300
  • 9d5d28f353 Proposal to hide the input commands saving/restoring bash history: Guillaume LOUVEL 2019-03-27 18:53:02 +0100
  • 8fcb4ab40b
    Merge pull request #291 from pattersongp/bugfix-162 Bruno Sutic 2019-03-01 18:19:42 +0100
  • a876ad6648 Adds a fix for directory paths with spaces that aren't escaped. Graham Patterson 2019-03-01 10:37:01 -0500
  • e1ca59ea45 Updating resurrect.tmux to be capable to use links as run-shell sources. Enrique Giraldo 2019-02-08 10:39:15 +0100
  • ac8a446667 Remove lingering code from base64-dependent cmdline solution *Kim Zick (rummik) 2019-01-07 11:34:59 -0500
  • c3ffe89e52
    Merge pull request #284 from rummik/mosh-client-strategy Bruno Sutic 2019-01-07 13:35:20 +0100
  • d27d0dd936 Add @resurrect-process-match-strategy option and "basename" strategy *Kim Zick (rummik) 2018-12-29 11:49:23 -0500
  • f67115a1ee Some fixes for zsh history save/restore *Kim Zick (rummik) 2018-12-28 22:50:19 -0500
  • e99f1977b6 Add mosh-client default strategy *Kim Zick (rummik) 2018-12-28 19:57:28 -0500
  • 913f693f80 Remove cmdline dependency on base64 and perl *Kim Zick (rummik) 2018-12-28 19:37:33 -0500
  • 15cabbb930 Fixes for cmdline save/restore strategy *Kim Zick (rummik) 2018-12-27 22:38:59 -0500
  • edd8132bef Add cmdline strategy donat-b 2017-09-26 22:08:25 +0300
  • 9187f8b377 Fix #94 start default-shell as login shell. Lars Wilke 2018-12-10 10:43:16 +0100
  • b020b2481e
    Merge pull request #220 from kevinkjt2000/fix-issue-95 Bruno Sutic 2018-11-30 13:29:24 +0100
  • c592b7d5a0
    fix: pane_content not being restored Barbz 2018-11-15 19:44:57 +0100
  • 1b6a710d5e
    Remove useless command Barbz 2018-11-15 19:43:21 +0100
  • a14e45e31e
    Merge 9333f3c025 into e5cbe54c75 Roman Rybalchenko 2018-10-16 14:29:55 +0000
  • e5cbe54c75
    Merge pull request #272 from JBlond/master Bruno Sutic 2018-10-08 11:42:29 +0200
  • 5ddfc57b49
    Merge 056922f55c into 9dc3f8c639 Roger Santos 2018-09-27 03:09:06 +0000
  • 5edd0a6836 print command line even if not restore Hao Zhang 2018-09-20 22:40:38 +0800
  • 71b93407f2
    Changed to fit ISO8601 Mario 2018-09-11 13:23:58 +0200
  • 9dc3f8c639
    Always use 'ps -ao' to detect commands Bruno Sutic 2018-09-11 11:16:30 +0200
  • 8b504d4b06
    Windows file names can not contain a colon Mario 2018-09-10 10:46:09 +0200
  • 599d83d8d6
    Merge 18c9e5348a into 6feae65a83 Cedric Pimenta 2018-08-24 23:39:06 +0000
  • 6feae65a83
    Merge pull request #267 from ashb/save-restore-hooks Bruno Sutic 2018-08-20 16:57:24 +0200
  • 8aa999c591 Add more hook points Ash Berlin-Taylor 2018-08-17 20:38:33 +0100
  • 2b341930f6 Make backup retention period configurable Ash Berlin-Taylor 2018-08-17 21:20:16 +0100
  • 0133c7a96a Save and restore hooks Sergey Vlasov 2018-01-19 18:36:13 +0200
  • 02831ad9cb
    Adding note about TPM installation Nick Loadholtes 2018-06-15 11:02:28 -0400
  • 09f3d98ae4
    WIP Adding instructions for using vim-session instead of Obsession Dylan Chong 2018-06-15 20:08:08 +1200
  • 61fd53d38c Get children process running within bash Julen Pardo 2018-05-29 12:58:39 +0200
  • 18c9e5348a Fix issue with restoring content Cedric Pimenta 2018-04-25 09:20:06 +0200
  • 9753032a5e Fix printing of command for ArchLinux Cedric Pimenta 2017-11-19 09:57:06 +0100
  • 37d2acd519
    Merge 2cfd886e1d into 42f77b303c zxwreg 2018-03-15 19:56:29 +0000
  • 2cfd886e1d Handle last_resurrect_file points to invalid file Xinwei Zhou 2018-03-15 12:18:32 -0700
  • b32480e767
    Merge 7e85f0db67 into 42f77b303c Mayank Suman 2018-02-01 17:49:49 +0000
  • 7e85f0db67 Fixed merge conflict Mayank Suman 2018-02-01 23:19:22 +0530
  • 2d5e1a452d
    Merge branch 'master' into auto_rename_win Mayank Suman 2018-02-01 22:55:19 +0530
  • 466f56e9d8 Merge 3da2c5773c into 42f77b303c Sergey Vlasov 2018-01-28 19:03:56 +0000
  • 42f77b303c
    Merge pull request #233 from woutgg/master Bruno Sutic 2018-01-28 17:40:17 +0100
  • 2f5394bfed Remove superfluous if-block. Wouter R 2018-01-27 19:08:28 +0100
  • fee390d1b5 Update tests to save and restore a setup with a zoomed pane. Wouter R 2018-01-24 22:32:35 +0100