mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2025-09-03 22:17:01 +00:00
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?
This commit is contained in:
@ -20,7 +20,7 @@ Currently the following hooks are supported:
|
||||
|
||||
Called before any tmux state is altered.
|
||||
|
||||
- `@resurrect-hook-pre-restore-history`
|
||||
- `@resurrect-hook-pre-restore-history` - deprecated
|
||||
|
||||
Called after panes and layout have been restores, but before bash history is
|
||||
restored (if it is enabled) -- the hook is always called even if history
|
||||
|
@ -1,4 +1,8 @@
|
||||
# Restoring shell history (experimental)
|
||||
# Restoring shell history (deprecated, do not use)
|
||||
|
||||
This feature is deprecated because it's very invasive. It will be removed in
|
||||
the future with no replacement. To see problems it causes check
|
||||
[this issue](https://github.com/tmux-plugins/tmux-resurrect/issues/288).
|
||||
|
||||
**Supported shells**: `bash` and `zsh`.
|
||||
|
||||
|
Reference in New Issue
Block a user