Skip to content

Commit 2f5394b

Browse files
committed
Remove superfluous if-block.
1 parent fee390d commit 2f5394b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

scripts/save.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,6 @@ dump_windows() {
244244
if is_session_grouped "$session_name"; then
245245
continue
246246
fi
247-
# window_layout is not correct for zoomed windows
248-
if [[ "$window_flags" == *Z* ]]; then
249-
# get correct window layout
250-
window_layout="$(tmux display-message -p -t "${session_name}:${window_index}" -F "#{window_layout}")"
251-
fi
252247
echo "${line_type}${d}${session_name}${d}${window_index}${d}${window_active}${d}${window_flags}${d}${window_layout}"
253248
done
254249
}

0 commit comments

Comments
 (0)