Bruno Sutic
5f5f9d8fd5
Kill session 0 if it's not restored
2020-08-03 08:58:41 +02:00
Bruno Sutic
78d67e4dcb
Merge pull request #211 from malkomalko/mm-rename-window
...
actually rename windows when restoring
2020-07-27 09:18:18 +02:00
Bruno Sutic
e4e21f3f48
Restore command args for inline strategies with '*'
...
Example inline strategy: "~/bin/my_program->my_program *"
for full command: "ruby /Users/john/bin/my_program arg1 arg2"
restores command: "my_program arg1 arg2"
2020-06-14 11:33:31 +02:00
Bruno Sutic
327c0481ad
Add 'view' to the list of restored processes
2020-03-21 23:51:59 +01:00
Bruno Sutic
905abba3c3
Merge pull request #283 from rummik/cmdline
...
Add cmdline save strategy
2019-12-17 18:03:06 +01:00
Helmut K. C. Tessarek
1160c1da71
only add -l when default_shell is bash
2019-12-06 13:00:39 +01:00
Bruno Sutic
c66b791fff
Merge pull request #281 from lwilke/hotfix/94_use_login_shell_with_default_shell
...
Fix #94 start default-shell as login shell.
2019-11-27 14:56:15 +01:00
Bruno Sutic
d7825683d1
Deprecate restoring shell history
...
"restoring shell history" feature is very invasive and dirty. I propose
removing it in the future without the replacement.
I worry it spoils the first experience of using this plugin for users
that accidentally turn it on and don't know how to turn it off, see
https://github.com/tmux-plugins/tmux-resurrect/issues/288
Also, it hurts me to reject PRs that improve the feature.
Thoughts?
2019-08-27 13:26:29 +02:00
Graham Patterson
a876ad6648
Adds a fix for directory paths with spaces that aren't escaped.
2019-03-01 10:37:01 -05:00
*Kim Zick (rummik)
ac8a446667
Remove lingering code from base64-dependent cmdline solution
2019-01-07 11:34:59 -05:00
*Kim Zick (rummik)
913f693f80
Remove cmdline dependency on base64 and perl
2018-12-28 19:37:33 -05:00
*Kim Zick (rummik)
15cabbb930
Fixes for cmdline save/restore strategy
2018-12-28 17:16:53 -05:00
donat-b
edd8132bef
Add cmdline strategy
2018-12-27 22:45:15 -05:00
Lars Wilke
9187f8b377
Fix #94 start default-shell as login shell.
...
If pane content is restored and no default-command is set, restore.sh
falls back to default-shell, which tmux sets automatically and calls as
a login shell.
In pane_creation_command() we need to make sure to call default-shell as a login shell.
As tmux does. But take care not to call default-command as a login shell.
2018-12-10 10:43:16 +01:00
Bruno Sutic
b020b2481e
Merge pull request #220 from kevinkjt2000/fix-issue-95
...
fix #95 restore name of first window
2018-11-30 13:29:24 +01:00
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
Wouter R
2f5394bfed
Remove superfluous if-block.
2018-01-27 19:08:28 +01:00
Wouter R
6d10ee01b6
Fix https://github.com/tmux-plugins/tmux-resurrect/issues/176 .
...
This removes (un)zooming on save which should not be necessary anymore
with recent tmux versions (from 2.2 on?).
2018-01-24 18:20:44 +01:00
Kevin Tindall
8f3f8d7cb9
fix #95 restore name of first window
2017-12-03 22:11:51 -06:00
Robert Malko
365a2e78ae
actually rename windows when restoring
2017-10-30 08:40:56 -07:00
Eugene Van Dam
5f3873c502
remove_old_backups() : replace xargs with -exec to handle 0 files found
...
by find better
2017-10-25 14:30:50 +02:00
Job Snijders
e3878caa75
Add weechat to conservative list
2017-10-10 08:12:44 +00:00
Bruno Sutic
3a31bfbbb8
Use 'xargs rm' instead of 'find -delete'
2017-06-04 00:52:37 +02:00
Bruno Sutic
241f62089a
Update changelog
2017-06-04 00:32:53 +02:00
Bruno Sutic
fe8390a578
Resurrect file prefix and extension vars
2017-06-04 00:31:17 +02:00
Xu Cheng
9d81e8d026
auto remove old backup files
...
remove backup files older than 30 days, but keep at least 5 copies of backup.
Fixes #102 .
2017-06-04 00:23:50 +02:00
Bruno Sutic
7e0bfcb7e9
Remove comment
2017-06-04 00:19:51 +02:00
Mohammad Alsaleh
aaec581334
Immediately restore shell history after saving
...
This is necessary for zsh.
Signed-off-by: Mohammad Alsaleh <CE.Mohammad.AlSaleh@gmail.com>
2017-06-04 00:17:36 +02:00
Mohammad Alsaleh
2c9cc224c0
Rename dump_bash_history() to dump_shell_history()
...
Signed-off-by: Mohammad Alsaleh <CE.Mohammad.AlSaleh@gmail.com>
2017-06-04 00:16:52 +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
ba59a2b642
Revert "remove pane contents cleanup to repair restore"
...
This reverts commit 0a6f90788f
.
2017-05-30 06:14:21 +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
8de2570960
Merge pull request #193 from Mellbourn/restore-pane-fix
...
remove pane contents cleanup to repair restore
2017-05-30 05:49:13 +02:00
Bruno Sutic
1a3a094265
Make send-keys more reliable
...
Thanks @mk12 for the PR
https://github.com/tmux-plugins/tmux-resurrect/pull/180
2017-05-30 05:43:12 +02:00
Bruno Sutic
40c776c747
Merge pull request #194 from Mellbourn/remove-terminal-clearing
...
remove terminal clearing since it collides with capture-pane-contents
2017-05-30 05:31:27 +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
5722856e54
Fix bug for restoring commands on tmux 2.5
2017-05-30 02:05:23 +02:00
Klas Mellbourn
0a6f90788f
remove pane contents cleanup to repair restore
...
as suggested in https://github.com/tmux-plugins/tmux-resurrect/issues/141
2017-05-07 19:35:06 +02:00
Klas Mellbourn
71fd3c8dd2
remove terminal clearing since it collides with capture-pane-contents
2017-05-06 00:37:13 +02:00
Heath Naylor
3bc852bbae
Fix comparision operators. Fixes #124
2016-01-29 09:41:52 -07:00
Bruno Sutic
370b4861cb
Revert "Symlink 'last' file at the end of successful save"
...
This reverts commit 6750a88e74
.
2015-11-25 13:42:37 +01:00
Bruno Sutic
6750a88e74
Symlink 'last' file at the end of successful save
2015-11-25 13:40:54 +01:00