mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-12-26 01:28:49 +00:00
e815c50f13
For instance `tmux set-option -g @resurrect-delete-backup-after 1` to only keep 1 day of backups. Closes 252.
52 lines
1.7 KiB
Bash
52 lines
1.7 KiB
Bash
# key bindings
|
|
default_save_key="C-s"
|
|
save_option="@resurrect-save"
|
|
save_path_option="@resurrect-save-script-path"
|
|
|
|
default_restore_key="C-r"
|
|
restore_option="@resurrect-restore"
|
|
restore_path_option="@resurrect-restore-script-path"
|
|
|
|
# default processes that are restored
|
|
default_proc_list_option="@resurrect-default-processes"
|
|
default_proc_list='vi vim view nvim emacs man less more tail top htop irssi weechat mutt'
|
|
|
|
# User defined processes that are restored
|
|
# 'false' - nothing is restored
|
|
# ':all:' - all processes are restored
|
|
#
|
|
# user defined list of programs that are restored:
|
|
# 'my_program foo another_program'
|
|
restore_processes_option="@resurrect-processes"
|
|
restore_processes=""
|
|
|
|
# Defines part of the user variable. Example usage:
|
|
# set -g @resurrect-strategy-vim "session"
|
|
restore_process_strategy_option="@resurrect-strategy-"
|
|
|
|
inline_strategy_token="->"
|
|
inline_strategy_arguments_token="*"
|
|
|
|
save_command_strategy_option="@resurrect-save-command-strategy"
|
|
default_save_command_strategy="ps"
|
|
|
|
# Pane contents capture options.
|
|
# @resurrect-pane-contents-area option can be:
|
|
# 'visible' - capture only the visible pane area
|
|
# 'full' - capture the full pane contents
|
|
pane_contents_option="@resurrect-capture-pane-contents"
|
|
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" # deprecated
|
|
|
|
# set to 'on' to ensure panes are never ever overwritten
|
|
overwrite_option="@resurrect-never-overwrite"
|
|
|
|
# Hooks are set via ${hook_prefix}${name}, i.e. "@resurrect-hook-post-save-all"
|
|
hook_prefix="@resurrect-hook-"
|
|
|
|
delete_backup_after_option="@resurrect-delete-backup-after"
|
|
default_delete_backup_after="30" # days
|