Commit Graph

175 Commits

Author SHA1 Message Date
Bruno Sutic
e1b01ee4f9
Export script paths so that 'tmux-resurrect-auto' plugin can use them 2015-02-12 12:48:44 +01:00
Bruno Sutic
708cd49d31
Fix a zoomed windows related regression 2015-02-12 12:47:09 +01:00
Bruno Sutic
47db8198d3
v2.1.0 2015-02-12 03:45:15 +01:00
Bruno Sutic
c4375bf642
Enable 'full restore' by overwriting a single pane 2015-02-10 15:16:26 +01:00
Bruno Sutic
ddf9c5ef87
Reorder function in restore script 2015-02-10 13:44:14 +01:00
Bruno Sutic
442b3ed244
v2.0.0 2015-02-10 12:57:24 +01:00
Bruno Sutic
b91e18cb0e
Remove deprecated and key bindings 2015-02-10 12:56:23 +01:00
Bruno Sutic
869be6fa5a
Update readme
Fixes #71
2015-02-10 12:48:53 +01:00
Bruno Sutic
028e7b7c2e
Refactoring: prefer using variable with tab character 2015-02-10 12:48:53 +01:00
Bruno Sutic
b502572a07
Restore active and alternate windows only if they are present in the 'last' file 2015-02-10 12:48:53 +01:00
Bruno Sutic
1c8efb034a
If there are no grouped sessions, do not output empty line 2015-02-10 12:48:53 +01:00
Bruno Sutic
95ec3c1d9b
Save and restore active and alternate windows for grouped sessions 2015-02-10 12:48:53 +01:00
Bruno Sutic
5dc22a4a9b
Restore grouped sessions 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
Bruno Sutic
3244b809eb Merge pull request #67 from SilentGob/master
Correct ps flag for OpenBSD
2015-01-16 00:25:50 +01:00
SilentGob
a9ac17a8f8 Correct ps flag for OpenBSD
Same flag as FreeBSD is needed
2015-01-15 23:20:29 +01:00
Bruno Sutic
9eae48b87e
Update README 2014-11-21 14:47:57 +01:00
Bruno Sutic
e8401ba305 Merge pull request #56 from cunha/master
allow relative paths in @resurrect-dir
2014-11-09 20:25:26 +01:00
Bruno Sutic
e770c87e10
v1.5.0 2014-11-09 16:43:44 +01:00
Bruno Sutic
601366be6d
Support for restoring neovim sessions 2014-11-09 16:42:53 +01:00
Italo Cunha
831fc5a458 allow relative paths in @resurrect-dir
this has been tested to work with set -g @resurrect-dir '.tmux/resu rrect'
2014-11-07 11:52:21 -02:00
Bruno Sutic
059686ab6c Merge pull request #55 from rburny/master
Fixes to #51 and #52
2014-10-26 16:59:41 +01:00
Radoslaw Burny
488f086fa5 Add a note about HISTCONTROL to README. 2014-10-26 02:17:12 +02:00
Radoslaw Burny
fcf7ca13f0 Only save pane history if its not running any program (other than Bash
shell). Fixes a bug where 'history -w' was sent to pane running Bash
script.
2014-10-26 01:30:00 +02:00
Bruno Sutic
e38eed7dae
v1.4.0 2014-10-25 18:46:15 +02:00
Bruno Sutic
a35d5f9b90
Update changelog & readme for the zoomed windows feature
Closes #47, #54
2014-10-25 18:43:56 +02:00
Arno Mayrhofer
0b496dd228 Removing the last_resized variable
Instead resizing only if pane_active is set so we are sure the resizep
is called only once
2014-10-25 18:29:52 +02: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
3ba092459a Merge pull request #49 from tmux-plugins/bash_history
Bash save and restore history feature
2014-10-20 23:17:46 +02:00
Bruno Sutic
6a6d65b98a
Update the readme 2014-10-20 23:16:56 +02:00
Bruno Sutic
f3fe4acc39
Document bash restore history feature 2014-10-17 22:40:15 +02:00
Bruno Sutic
8684d4592b
Flag gate the bash history restore feature 2014-10-17 22:33:29 +02:00
Bruno Sutic
8328de41d8
Update changelog 2014-10-17 17:47:10 +02:00
Bruno Sutic
94985fc500
Extract save_shell_history to a separate function 2014-10-17 17:45:49 +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
a73c465e47
Add issue video screenshot 2014-10-07 13:55:23 +02:00
Bruno Sutic
4ba0e398b9
Document tmux env save dir 2014-10-06 12:59:14 +02:00
Bruno Sutic
8fd38588c0
Fix ps command flags for FreeBSD
This was reported by @duck in #45
2014-09-29 13:39:41 +02:00
Bruno Sutic
a7fe9dcac3
Command line script that fully restores tmux environment 2014-09-24 14:33:46 +02:00
Bruno Sutic
ec9f68cad5
Quote arguments in tmux display-message 2014-09-24 14:30:05 +02:00
Bruno Sutic
94594efdb0
Small bugfix: text command arguments 2014-09-24 14:25:30 +02:00
Bruno Sutic
1b79eb2f63
Rename default strategy to ps 2014-09-21 15:12:35 +02:00
Bruno Sutic
8ebda79f68
Implement save command strategy gdb
@danschumann originally came up with this strategy in #44
2014-09-21 00:08:41 +02:00
Bruno Sutic
ae9083e695
Implement save command strategy: pgrep 2014-09-20 23:55:19 +02:00
Bruno Sutic
9f7050aaae
Use a strategy when fetching pane full command 2014-09-20 23:47:15 +02:00
Bruno Sutic
99abfa5f13
Small readme update 2014-09-20 22:45:37 +02:00
Bruno Sutic
95303946b2
v1.3.0 2014-09-20 22:36:42 +02:00
Bruno Sutic
1d09f07d2b
Remove dependency on pgrep; use ps to get process names
Fixes #43
2014-09-20 22:33:14 +02:00
Bruno Sutic
618769b62f
Update readme 2014-09-20 13:23:42 +02:00
Bruno Sutic
fac377bf8c
Add bash to the dependency list 2014-09-10 21:53:38 +02:00