Commit Graph

36 Commits

Author SHA1 Message Date
Mario
71b93407f2
Changed to fit ISO8601
See https://github.com/tmux-plugins/tmux-resurrect/pull/272#issuecomment-419934801
2018-09-11 13:23:58 +02:00
Mario
8b504d4b06
Windows file names can not contain a colon
That would solve https://github.com/tmux-plugins/tmux-resurrect/issues/131
2018-09-10 10:46:09 +02:00
Ash Berlin-Taylor
8aa999c591 Add more hook points
And make the hook calling simpler at the call site.
2018-08-20 12:17:43 +01:00
Sergey Vlasov
0133c7a96a Save and restore hooks 2018-08-17 20:19:27 +01:00
Bruno Sutic
fe8390a578
Resurrect file prefix and extension vars 2017-06-04 00:31:17 +02:00
Mohammad Alsaleh
655ed8c6f4
Add @resurrect-save-shell-history option
Also make @resurrect-save-bash-history an alias to the new option.

Signed-off-by: Mohammad Alsaleh <CE.Mohammad.AlSaleh@gmail.com>
2017-06-04 00:16:51 +02:00
Mohammad Alsaleh
e757e1b8a9
Add zsh support in save/restore functions
Signed-off-by: Mohammad Alsaleh <CE.Mohammad.AlSaleh@gmail.com>
2017-06-04 00:15:01 +02:00
Bruno Sutic
fbed36ad0e
Allow using '$HOSTNAME' in @resurrect-dir
Closes #197
2017-06-01 17:35:00 +02:00
Bruno Sutic
eef844c747
Memoize return of resurrect path functions 2017-06-01 17:03:39 +02:00
Bruno Sutic
b7a4ee2a40
Pane contents save and restore in separate dirs 2017-06-01 05:47:09 +02:00
Bruno Sutic
573897cd71
Revert "Remove pane_content_files_cleanup function"
This reverts commit 7a8d90a27d.
2017-05-30 06:11:41 +02:00
Bruno Sutic
7a8d90a27d
Remove pane_content_files_cleanup function 2017-05-30 05:49:51 +02:00
Bruno Sutic
b1f3df21e9
Create new file only if there are changes
Code submitted by @vburdo in
https://github.com/tmux-plugins/tmux-resurrect/issues/156
2017-05-30 05:14:14 +02:00
Bruno Sutic
e81f8e5f37
More portable pane_capture archiving 2015-07-10 19:29:40 +02:00
Bruno Sutic
a47236d247
Implement pane content files compression 2015-07-10 18:01:20 +02:00
Bruno Sutic
a750628a44
Change 'save pane contents' directory 2015-07-08 00:14:40 +02:00
Bruno Sutic
74773bed62
Save pane contents only if pane not blank 2015-07-08 00:02:20 +02:00
Bruno Sutic
aa0b424ca6
Refactoring 2015-07-07 23:35:41 +02:00
Bruno Sutic
6fe70853a5
Expand tilde in @resurrect-dir
Fixes #74
2015-07-07 18:23:43 +02:00
quentin
b22b2a7203 Save and restore tmux pane contents
This feature is controlled by the '@resurrect-capture-pane-contents'
option.
Currently only the visible area of each pane is saved and restored.
2015-03-17 03:17:37 +01:00
Bruno Sutic
b7e7669999
Improve fetching "window_layout" value
It's faster now.
2015-02-12 14:10:56 +01:00
Bruno Sutic
708cd49d31
Fix a zoomed windows related regression 2015-02-12 12:47:09 +01:00
Bruno Sutic
ddf9c5ef87
Reorder function in restore script 2015-02-10 13:44:14 +01:00
Bruno Sutic
028e7b7c2e
Refactoring: prefer using variable with tab character 2015-02-10 12:48:53 +01:00
Bruno Sutic
bfc625e13f
Save grouped sessions
Grouped sessions are session started with the command
`tmux new-session -t <existing-session-name>`

Those sessions share the panes and windows with the existing, original
session.
We're making sure to identify and save grouped sessions.
On the other hand, we don't want to save panes and windows twice
2015-02-10 12:48:53 +01:00
Arno Mayrhofer
ad52ade4bf Preserving layout of zoomed windows across restores
The problem is that tmux list-window shows only the current pane layout
if a pane is maximized. This is a bug in tmux. In order to avoid this
bug we unzoom the window when saving and zoom in again after saving.
This implies that the Z flag is no longer set in list-windows, and so it
can't be used when restoring. Instead we use the Z flag of the panes
(which still have it) to restore the zoom.
2014-10-25 18:29:52 +02:00
Bruno Sutic
8684d4592b
Flag gate the bash history restore feature 2014-10-17 22:33:29 +02:00
Radoslaw Burny
81982b5114 Add bash history saving and restoring (first version).
This does not yet have flag to turn the feature off.
2014-10-17 17:14:33 +02:00
Bruno Sutic
bd095e739d
Change plugin name and all the variables 2014-08-29 18:59:14 +02:00
Bruno Sutic
cfe8e7979b
Restoring programs with arguments; improve process matching
Closes #20, closes #19
2014-08-28 23:48:04 +02:00
Bruno Sutic
1e945c2cac
Enable selectively restoring processes
- user can restore all processes with ':all:'
- user can selectively restore wanted processes

Closes #13
2014-08-27 16:19:36 +02:00
Bruno Sutic
7f50660918
User option for disabling pane process restoring 2014-08-27 13:12:32 +02:00
Bruno Sutic
732d53cede
Support only Tmux v1.9 or greater
Closes #1
2014-08-26 15:47:31 +02:00
Bruno Sutic
5c2853a55f
Sessions directory is configurable
Close #10
2014-08-26 15:40:50 +02:00
Bruno Sutic
70d78e8d73
Saving a session does not override the previous one
Close #7
2014-08-26 15:31:47 +02:00
Bruno Sutic
651b14075a
Create plugin start script 2014-08-26 12:23:58 +02:00