In a shell that already has the desired current working directory. With tmux 1.4, I usually just use tmux neww This should be available in the next release of tmux (1.7?). This uses special platform-specific code, so only certain OSes are supported at this time: Darwin (OS X), FreeBSD, Linux, OpenBSD, and Solaris. The same is true for the pane created by the split-window command when it is invoked via a binding. In tmux builds that include this code, tmux key bindings that invoke new-window will create new a window with the same current working directory as the current pane’s active processes (as long as the default-path session option is empty it is by default). See some of the other answers to this question for details.Ī relevant feature landed in the tmux SVN trunk in early February 2012. by rebinding the c, ", and % bindings to include Starting in tmux 1.9 the default-path option was removed, so you need to use the -c option with new-window, and split-window (e.g.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |