mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-12-22 14:58:49 +00:00
Rename dump_bash_history() to dump_shell_history()
Signed-off-by: Mohammad Alsaleh <CE.Mohammad.AlSaleh@gmail.com>
This commit is contained in:
parent
655ed8c6f4
commit
2c9cc224c0
@ -266,7 +266,7 @@ dump_pane_contents() {
|
||||
done
|
||||
}
|
||||
|
||||
dump_bash_history() {
|
||||
dump_shell_history() {
|
||||
dump_panes |
|
||||
while IFS=$d read line_type session_name window_number window_name window_active window_flags pane_index dir pane_active pane_command full_command; do
|
||||
save_shell_history "$session_name:$window_number.$pane_index" "$pane_command" "$full_command"
|
||||
@ -292,8 +292,8 @@ save_all() {
|
||||
pane_contents_create_archive
|
||||
rm "$(pane_contents_dir "save")"/*
|
||||
fi
|
||||
dump_bash_history
|
||||
if save_shell_history_option_on; then
|
||||
dump_shell_history
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user