Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christian Salzmann-Jaeckel
tmux-resurrect
Commits
2f5394bf
Commit
2f5394bf
authored
Jan 27, 2018
by
Wouter R
Browse files
Remove superfluous if-block.
parent
fee390d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/save.sh
View file @
2f5394bf
...
...
@@ -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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment