tmux neww <shell-command>
Create a new window
Arguments
Name | Description |
---|---|
shell-command | A shell command to run when creating the window |
Options
Name | Description |
---|---|
-a | Insert the new window at the next index after target-window |
-b | Insert the new window at the next index before target-window |
-d | The session does not make the new window the current window |
-k | Kill the target-window if exist |
-P | Print information about the new window |
-S | Select window-name if exist |
-c <start-directory> | Specify a start directory for the window |
-e <environment> | Set environment variables |
-F <format> | Format output |
-n <window-name> | Start a new window with the given name |
-t <window-name> | The target window |