-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Setting to open new tabs in the same folder as the one on which a new tab (shortcut) is invoked #514
Comments
Actually it should already do that on Linux and macOS - is this not the case for you? |
What I meant was ... If I am in a directory
|
As said, this is already an implemented feature - if it's not working for you, I'll need to know at least what platform you're on. |
@Eugeny But can it be implemented for Windows with WSL? |
Unfortunately I wasn't able to find a reliable way to determine other process' working directory on Windows that wouldn't require administrator permissions - I'll keep this ticket open until then! |
I am on Mac (Mojave). Unfortunately, Terminus, like the past few times, is not bringing up the window at all to get you anymore information. I can't figure when and why that no window situation happens. I can say with 50% confidence that it happens when the settings window is open. I have tried uninstalling and reinstalling, and i am gonna try the same later tonight. |
This is not working on Mac Mojave either. When I try to open a new tab, it opens to my HOME directory and not the directory of the last tab I was on. Would really this feature as new tabs almost always related to the codebase I'm currently working on. |
@klassicd it's supposed to be pretty reliable on macOS - is Terminus opening new tabs in $HOME every time? |
Does/or could terminus send some kind of signal to the shell running in a tab on blur? If yes, the shell could take care of handling the tracking and setting of the directory for new tabs. There already are a few plugins that achieve something similar but track working dir only on directory change or command execution (which is sub-optimal). |
I've made a separate ticket to track Windows CWD detection issues: #1703 |
Can confirm on Mac (Mojave 10.14.6), Terminus 1.0.112 alwaysUseWorkingDirectory: false If Settings Window is open or not does not seem to matter. |
Sorry for hijacking this: I can't find the setting in Linux. As far as I understand under linux this should work? I run tabby-1.0.201 ... thanks! |
I think in previous version there was a gui setting for it. In the meanwhile you can set this in your config file. terminal:
...
alwaysUseWorkingDirectory: true |
There is currently a setting (see above) that sets the starting/working directory when you open a new shell. It would be fantastic if there's a setting to open the new shell/tab in the same directory as the one on which you hit Cmd+T.
Funding this issue
The text was updated successfully, but these errors were encountered: