Macro tmux_interface::new_session
source · macro_rules! new_session { (@cmd ($cmd:expr) -A, $($tail:tt)*) => { ... }; (@cmd ($cmd:expr) -d, $($tail:tt)*) => { ... }; (@cmd ($cmd:expr) -D, $($tail:tt)*) => { ... }; (@cmd ($cmd:expr) -E, $($tail:tt)*) => { ... }; (@cmd ($cmd:expr) -P, $($tail:tt)*) => { ... }; (@cmd ($cmd:expr) -X, $($tail:tt)*) => { ... }; (@cmd ($cmd:expr) -c $start_directory:expr, $($tail:tt)*) => { ... }; (@cmd ($cmd:expr) -f $flags:expr, $($tail:tt)*) => { ... }; (@cmd ($cmd:expr) -F $format:expr, $($tail:tt)*) => { ... }; (@cmd ($cmd:expr) -n $window_name:expr, $($tail:tt)*) => { ... }; (@cmd ($cmd:expr) -s $session_name:expr, $($tail:tt)*) => { ... }; (@cmd ($cmd:expr) -t $group_name:expr, $($tail:tt)*) => { ... }; (@cmd ($cmd:expr) -x $width:expr, $($tail:tt)*) => { ... }; (@cmd ($cmd:expr) -y $height:expr, $($tail:tt)*) => { ... }; (@cmd ($cmd:expr) $shell_command:expr, $($tail:tt)*) => { ... }; (@cmd ($cmd:expr)) => { ... }; () => { ... }; (($cmd:expr), $($tail:tt)*) => { ... }; ($($tail:tt)*) => { ... }; }
Expand description
Structure for creating a new session
Manual
tmux 3.2:
new-session [-AdDEPX] [-c start-directory] [-e environment] [-f flags] [-F format]
[-n window-name] [-s session-name] [-t group-name] [-x width] [-y height] [shell-command]
(alias: new)
tmux 3.0:
new-session [-AdDEPX] [-c start-directory] [-F format] [-n window-name] [-s session-name]
[-t group-name] [-x width] [-y height] [shell-command]
(alias: new)
tmux 2.4:
new-session [-AdDEP] [-c start-directory] [-F format] [-n window-name] [-s session-name]
[-t group-name] [-x width] [-y height] [shell-command]
(alias: new)
tmux 2.1:
new-session [-AdDEP] [-c start-directory] [-F format] [-n window-name] [-s session-name]
[-t target-session] [-x width] [-y height] [shell-command]
(alias: new)
tmux 1.9:
new-session [-AdDP] [-c start-directory] [-F format] [-n window-name] [-s session-name]
[-t target-session] [-x width] [-y height] [shell-command]
(alias: new)
tmux 1.8:
new-session [-AdDP] [-F format] [-n window-name] [-s session-name] [-t target-session]
[-x width] [-y height] [shell-command]
(alias: new)
tmux 1.6:
new-session [-d] [-n window-name] [-s session-name] [-t target-session] [-x width]
[-y height] [shell-command]
(alias: new)
tmux 1.2:
new-session [-d] [-n window-name] [-s session-name] [-t target-session] [shell-command]
(alias: new)
tmux 1.1:
new-session [-d] [-n window-name] [-s session-name] [-t target-session] [command]
(alias: new)
tmux ^0.8:
new-session [-d] [-n window-name] [-s session-name] [command]
(alias: new)