-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Open
Labels
area:cliCommand-line interface feedbackCommand-line interface feedbackarea:editorFeedback for code editing, formatting, editor iterations, etcFeedback for code editing, formatting, editor iterations, etcfrequency:commonBugs that happen for at least a third of the users across all platforms and kinds of usageBugs that happen for at least a third of the users across all platforms and kinds of usagepriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstate:needs infoIssue that needs more information from the userIssue that needs more information from the userstate:needs reproNeeds reproduction steps / someone to reproduceNeeds reproduction steps / someone to reproduce
Description
Reproduction steps
Version: Zed 0.218.3+preview.104 (macOS)
- Ensure Zed Preview is already running
- Run
zed ~/.aliases.zshwhere~/.aliases.zshis a symlink to another file - Observe Zed icon briefly appears in dock then immediately closes
Current vs. Expected behavior
Expected behavior:
File should open in the existing Zed instance (symlink should be resolved automatically)
Actual behavior:
- CLI detects existing instance and logs "zed is already running"
- Instead of sending the file to the existing instance, the process exits
- Application briefly appears and disappears from dock
Workarounds:
- Use
zed $(readlink -f <file>)to resolve symlink first - Use
open -a "Zed Preview" <file>instead of CLI
Note: This appears to be a combination of two issues:
- Symlink resolution failing in the CLI
- Single-instance communication not working properly when symlinks are involved
Zed version and system specs
Zed: 0.218.3+preview.104
OS: macOS 26.2
Memory: 96GB
Architecture: aarch64
Attach Zed log file
N/A - This is not a crash, but a silent failure when using CLI with symlinks.
Relevant Zed settings
settings.json
Relevant Keymap
keymap.json
(for AI issues) Model provider details
No response
If you are using WSL on Windows, what flavor of Linux are you using?
None
Metadata
Metadata
Assignees
Labels
area:cliCommand-line interface feedbackCommand-line interface feedbackarea:editorFeedback for code editing, formatting, editor iterations, etcFeedback for code editing, formatting, editor iterations, etcfrequency:commonBugs that happen for at least a third of the users across all platforms and kinds of usageBugs that happen for at least a third of the users across all platforms and kinds of usagepriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstate:needs infoIssue that needs more information from the userIssue that needs more information from the userstate:needs reproNeeds reproduction steps / someone to reproduceNeeds reproduction steps / someone to reproduce