Document bash restore history feature

This commit is contained in:
Bruno Sutic 2014-10-17 22:40:15 +02:00
parent 8684d4592b
commit f3fe4acc39
No known key found for this signature in database
GPG Key ID: 66D96E4F2F7EF26C

View File

@ -46,6 +46,8 @@ This plugin goes to great lengths to save and restore all the details from your
[configuration section](#configuration). [configuration section](#configuration).
- restoring vim sessions (optional). More details in - restoring vim sessions (optional). More details in
[restoring vim sessions](#restoring-vim-sessions). [restoring vim sessions](#restoring-vim-sessions).
- restoring bash history (optional, *experimental*). More details in
[restoring bash history](#restoring-bash-history).
Requirements / dependencies: `tmux 1.9` or higher, `bash`. Requirements / dependencies: `tmux 1.9` or higher, `bash`.
@ -130,6 +132,14 @@ Change this with:
set -g @resurrect-dir '/some/path' set -g @resurrect-dir '/some/path'
#### Restoring bash history (experimental)
In `.tmux.conf`:
set -g @resurrect-save-bash-history 'on'
Bash `history` for individual panes will now be saved and restored.
### Other goodies ### Other goodies
- [tmux-copycat](https://github.com/tmux-plugins/tmux-copycat) - a plugin for - [tmux-copycat](https://github.com/tmux-plugins/tmux-copycat) - a plugin for