CLI flag for working directory
I wanted to configure
thunar's "Open in Terminal" menu in order to use foot. A
--working-directory or similar flag would be helpful.
@craigbarnes unless you're strongly against it, I'm considering adding support for this.
This is, what, the third time someone asks for it? The implementation is not much more than a
chdir(). While it is possible to work around it, as you've shown, isn't it more efficient to handle this in foot?
@dnkl Yeah I was going to suggest just adding it too. The last 2 times it was brought up, there was no actual use case mentioned in the issue, but this one makes sense. I think it's worth adding just for the fact that it's easier to document than the other method.
FWIW, I had exactly the same problem in the past as I wanted to call
foot in the current directory of
Ended up doing this:
nnoremap <f9> :!foot bash -c "cd %d; exec bash" %i &<cr>
Deleting a branch is permanent. It CANNOT be undone. Continue?