NewSessionOptions.start_directory
Set the working directory for the session's first window.
Source and package
- Qualified name
-
libtmux::server:: New Session Options:: start _directory - Module
- server
- Declared in
NewSessionOptions- Package
- libtmux
- Source
- crates/libtmux/src/server.rs
-
Description#
The directory is sent literally.
TmuxArg::format()opts into expansion, which is how#{pane_current_path}is asked for.