From 737568922be14a95d05359f488655dd454f46c14 Mon Sep 17 00:00:00 2001 From: quentin Date: Wed, 18 Mar 2015 22:38:38 +0100 Subject: [PATCH] Make "full" pane contents saving the default --- scripts/save.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/save.sh b/scripts/save.sh index fef80cf..5ca7e60 100755 --- a/scripts/save.sh +++ b/scripts/save.sh @@ -111,8 +111,8 @@ pane_full_command() { capture_pane_contents() { local pane_id="$1" - local start_line="0" - [[ "$(get_tmux_option "$pane_contents_area_option" "visible")" == "full" ]] && start_line="-$2" + local start_line="-$2" + [[ "$(get_tmux_option "$pane_contents_area_option" "full")" == "visible" ]] && start_line="0" tmux capture-pane -epJ -S "$start_line" -t "$pane_id" > "$(resurrect_pane_file "$pane_id")" }