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() {
|
__get_first_window_index() {
|
||||||
local index
|
local index=$(tmuxifier-tmux list-windows -t "$session:" \
|
||||||
index=$(tmuxifier-tmux list-windows -t "$session:" -F "#{window_index}" 2>/dev/null)
|
-F "#{window_index}" 2>/dev/null)
|
||||||
|
|
||||||
if [ -n "$index" ]; then
|
if [ -n "$index" ]; then
|
||||||
echo "$index" | head -1
|
echo "$index" | head -1
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user