From 2f5394bfed12bad49672588c12c24c9fb0c36e8f Mon Sep 17 00:00:00 2001 From: Wouter R Date: Sat, 27 Jan 2018 19:08:28 +0100 Subject: [PATCH] Remove superfluous if-block. --- scripts/save.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/save.sh b/scripts/save.sh index b52ef48..f7508e8 100755 --- a/scripts/save.sh +++ b/scripts/save.sh @@ -244,11 +244,6 @@ dump_windows() { if is_session_grouped "$session_name"; then continue fi - # window_layout is not correct for zoomed windows - if [[ "$window_flags" == *Z* ]]; then - # get correct window layout - window_layout="$(tmux display-message -p -t "${session_name}:${window_index}" -F "#{window_layout}")" - fi echo "${line_type}${d}${session_name}${d}${window_index}${d}${window_active}${d}${window_flags}${d}${window_layout}" done }