Remove superfluous if-block.

This commit is contained in:
Wouter R 2018-01-27 19:08:28 +01:00
parent fee390d1b5
commit 2f5394bfed

View File

@ -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
}