diff --git a/scripts/save.sh b/scripts/save.sh index 761f405..77b42dd 100755 --- a/scripts/save.sh +++ b/scripts/save.sh @@ -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 }