-
Notifications
You must be signed in to change notification settings - Fork 14
Set working directory with :dir #12
Copy link
Copy link
Open
Description
I just noticed another possible improvement. Using the header :dir in a source block usually allows to set the working directory, e.g.:
#+BEGIN_SRC sh :dir ~/my/path :session local
pwd
#+END_SRC
#+RESULTS:
| |
| /home/user/my/path |Doing this in ob-tmux on the other hand does not seem to work:
#+BEGIN_SRC tmux :dir ~/my/path :session local2
pwd
#+END_SRC
#+RESULTS:
#+begin_example
(base) [user@host ~]$ pwd
/home/user
#+end_exampleI think that would be a good functionality, especially since remote tmux sessions using :socket is possible. Would implementing this be feasible?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels