-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Further Save and restore hooks #267
Conversation
docs/hooks.md
Outdated
|
||
Called before any tmux state is altered. | ||
|
||
- `eresurrect-hook-pre-restore-history` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo
docs/hooks.md
Outdated
|
||
- `eresurrect-hook-pre-restore-history` | ||
|
||
Called after panes and layout have been restores, but before bash history is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo ... "have been restored"
docs/hooks.md
Outdated
- `eresurrect-hook-pre-restore-history` | ||
|
||
Called after panes and layout have been restores, but before bash history is | ||
restored (if it is enabled) -- the hook is always called even is history |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if history ..
docs/hooks.md
Outdated
|
||
- `@resurrect-hook-pre-restore-pane-processes` | ||
|
||
Called after history is resotred, but before running processes are restored. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Called after history is restored"
docs/hooks.md
Outdated
|
||
Called after history is resotred, but before running processes are restored. | ||
|
||
Here is an example how to save and restore window geometry for most terminals in X11. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a header above this line ### Examples
Thanks for working on this, looks good. Please ping me when you fix the typos and I'll merge. |
And make the hook calling simpler at the call site.
@bruno- typos fixed, thanks! |
Further to #230 (and based on it, with the same initial commit keeping authorship) but extended to have more hook points.
Closes #230, #213