We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
start_directory
1 parent c7cc090 commit a3c0316Copy full SHA for a3c0316
src/libtmux/session.py
@@ -679,7 +679,7 @@ def new_window(
679
window_args += ("-P",)
680
681
# Catch empty string and default (`None`)
682
- if start_directory and isinstance(start_directory, str):
+ if start_directory:
683
# as of 2014-02-08 tmux 1.9-dev doesn't expand ~ in new-window -c.
684
start_directory = pathlib.Path(start_directory).expanduser()
685
window_args += (f"-c{start_directory}",)
0 commit comments