Commit Graph

13 Commits

Author SHA1 Message Date
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
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
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
8684d4592b
Flag gate the bash history restore feature 2014-10-17 22:33:29 +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
1b79eb2f63
Rename default strategy to ps 2014-09-21 15:12:35 +02:00
Bruno Sutic
9f7050aaae
Use a strategy when fetching pane full command 2014-09-20 23:47:15 +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
3682cf6170
Bugfix: sourcing variables file 2014-08-30 21:43:08 +02:00
Bruno Sutic
2b259cf11a
Show spinner during the env save process 2014-08-29 19:51:47 +02:00
Bruno Sutic
bd095e739d
Change plugin name and all the variables 2014-08-29 18:59:14 +02:00