mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 09:56:39 +00:00
Wrap long line
This commit is contained in:
@@ -302,8 +302,9 @@ __expand_path() {
|
||||
}
|
||||
|
||||
__get_first_window_index() {
|
||||
local index
|
||||
index=$(tmuxifier-tmux list-windows -t "$session:" -F "#{window_index}" 2>/dev/null)
|
||||
local index=$(tmuxifier-tmux list-windows -t "$session:" \
|
||||
-F "#{window_index}" 2>/dev/null)
|
||||
|
||||
if [ -n "$index" ]; then
|
||||
echo "$index" | head -1
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user