In MacOS, possible to open WezTerm.app in specified dir? #6559
Replies: 2 comments 1 reply
-
Works great - i use this: https://github.com/Ji4n1ng/OpenInTerminal and set up a keyboard shortcut so that if i command-shift-T in a finder window, it opens in that directory |
Beta Was this translation helpful? Give feedback.
-
For posterity, I was able to solve this for myself by creating a simple Automator app that invokes the following:
Obviously that works for my particular flow (opens a new tab in a single existing window), other people might want a different flow. It'd be kind of nice if this were integrated by default into |
Beta Was this translation helpful? Give feedback.
-
I'd like to be able to open WezTerm, provided with a directory, and have WT startup with that directory as CWD. Specifically, when initializing like this (in MacOS):
open $DIR -a /Applications/WezTerm.App
. Currently if I do this, WT just echoes$DIR ; exit
and then immediately closes.The behavior I want is exactly what happens if you invoke this command with iTerm and the default MacOS terminal.
I'm aware that I can get the behavior I want by invoking like
wezterm start --cwd $DIR
, but this doesn't work for my needs. I'm trying to invoke this behavior from a different application (a Raycast plugin) that doesn't allow me to configure the opening behavior (it just uses some default Mac opening commands).Not sure if the existing behavior is implemented as is for some explicit reason, but if not I'd love for it to be changed to the behavior I want. :-)
Beta Was this translation helpful? Give feedback.
All reactions