Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5344d1a6ad | |||
| 26a847bc50 |
+2
-2
@@ -98,9 +98,9 @@ for ((i=1; i<num_windows; i++)); do
|
||||
window_command=$(yq e ".sessions.${session}.windows[${i}].command // \"\"" "${TMUX_CONFIG_FILE}")
|
||||
|
||||
if [[ -z "${window_command}" ]]; then
|
||||
tmux new-window -t "${session}:${i}" -n "${window_name}"
|
||||
tmux new-window -t "${session}" -n "${window_name}"
|
||||
else
|
||||
tmux new-window -t "${session}:${i}" -n "${window_name}" "${window_command}"
|
||||
tmux new-window -t "${session}" -n "${window_name}" "${window_command}"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user