Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christian Salzmann-Jaeckel
tmux-resurrect
Commits
0f0ec12e
Unverified
Commit
0f0ec12e
authored
Oct 21, 2019
by
Bruno Sutic
Committed by
GitHub
Oct 21, 2019
Browse files
Merge pull request #308 from tmux-plugins/deprecate_restoring_shell_history
Deprecate restoring shell history
parents
e3f05dd3
d7825683
Changes
5
Show whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
0f0ec12e
...
...
@@ -24,6 +24,7 @@
-
delete resurrect files older than 30 days, but keep at least 5 files
-
add save and restore hooks
-
always use
`-ao`
flags for
`ps`
command to detect commands
-
Deprecate restoring shell history feature.
### v2.4.0, 2015-02-23
-
add "tmux-test"
...
...
README.md
View file @
0f0ec12e
...
...
@@ -49,7 +49,6 @@ Optional:
-
[
restoring vim and neovim sessions
](
docs/restoring_vim_and_neovim_sessions.md
)
-
[
restoring pane contents
](
docs/restoring_pane_contents.md
)
-
[
restoring shell history
](
docs/restoring_shell_history.md
)
(
experimental
)
Requirements / dependencies:
`tmux 1.9`
or higher,
`bash`
.
...
...
docs/hooks.md
View file @
0f0ec12e
...
...
@@ -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
...
...
docs/restoring_shell_history.md
View file @
0f0ec12e
# 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`
.
...
...
scripts/variables.sh
View file @
0f0ec12e
...
...
@@ -38,7 +38,7 @@ pane_contents_area_option="@resurrect-pane-contents-area"
default_pane_contents_area
=
"full"
bash_history_option
=
"@resurrect-save-bash-history"
# deprecated
shell_history_option
=
"@resurrect-save-shell-history"
shell_history_option
=
"@resurrect-save-shell-history"
# deprecated
# set to 'on' to ensure panes are never ever overwritten
overwrite_option
=
"@resurrect-never-overwrite"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment