-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Don't reopen last workspace when opening a new file/directory from cli #9592
Comments
What version of Zed are you using? |
Is this a regression? |
Line 402 here does not run on app start from CLI which it should. Could it be a race condition on the information not having beeh transferred over the ipc channel? Lines 395 to 410 in e1685de
Could the initial information about the program being started from cli be sent as arguments and not depend on being sent over IPC perhaps? |
I can no longer reproduce what @escobera is describing. I'm closing in favor of consolidating any remaining related concerns into this here: Thanks for reporting. |
I can reproduce with the latest stable version, same steps as #9592 (comment). |
@hferreiro I cannot reproduce this. Could you blow away your workspace db folder and see if that helps:
|
@notpeter still reproducible. I have to close with cmd-w to avoid this behavior. |
@notpeter can you reopen this issue? |
Check for existing issues
Describe the feature
When I launch zed from the command line, a la
zed .zshrc
, and it launches zed it should just open the file/directory specified on the cli and NOT open the previously open project/workspace/directory.If I do not specify a file/directory to open then maintaining current behavior (open previous) seems reasonable -- though opening a new scratch doc seems more consistent with expected behavior for other editors
If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: