Skip to content
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

Command zed --wait not handled properly #24014

Open
korikhin opened this issue Jan 31, 2025 · 2 comments
Open

Command zed --wait not handled properly #24014

korikhin opened this issue Jan 31, 2025 · 2 comments
Labels
cli Command-line interface feedback

Comments

@korikhin
Copy link

korikhin commented Jan 31, 2025

Summary

The terminal hangs and waits for file to be closed.

Reproduce

  1. Set
"terminal": {
    "env": {
      "GIT_EDITOR": "zed --wait"
    }
}
  1. git commit.
  2. Edit and save the message.
  3. Close the buffer.

Actual Behavior:

  1. Hangs.
  2. After a minute of hanging the process succeeds.
record.mov

Expected Behaviour:

  1. No hanging.

Zed Version and System Specs

Zed: v0.171.3 (Zed)
OS: macOS 15.2.0
Memory: 16 GiB
Architecture: aarch64

@notpeter
Copy link
Member

When I use those settings it works as expected for me:

video
Screen.Recording.2025-01-31.at.12.21.11.mov

The "steps to reproduce" / "Actual Behavior" / "Expected Behavior" that you deleted from the issue template are there for a reason. Please provide sufficient detail to describe what you are experiencing.

@notpeter notpeter added the cli Command-line interface feedback label Jan 31, 2025
@korikhin
Copy link
Author

Updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Command-line interface feedback
Projects
None yet
Development

No branches or pull requests

2 participants