Repository navigation
'-e' flag misbehave (MacOS) #13319
Issue DescriptionOn MacOS, I want to spawn a new ghostty window running vim. I used the following command: ghostty -e vim /path/to/file.txtWhen file is a fullpath and exists, a new window running vim file is spawn, then a new tab is created with the following output /Users/luigi/file.txt; exit
Last login: Mon Jul 13 16:15:12 on ttys001
luigi@MacBook-Air-M2-di-Luigi ~ % /Users/luigi/file.txt; exit
zsh: permission denied: /Users/luigi/file.txt
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Ghostty failed to launch the requested command:
/usr/bin/login -flp luigi /bin/bash --noprofile --norc -c exec -l /bin/zsh
Runtime: 101 ms
Press any key to close the window.It's like Ghostty recognize /path/to/file.txt as an executable and tries to execute it as a standalone command alongside vim. Expected BehaviorOnly vim must be parsed as an executable Actual Behavior
Reproduction Steps
Ghostty LogsNo response Ghostty VersionOS Version InformationMacOS Tahoe 26.5.2 (Linux only) Display ServerNone (Linux only) Desktop Environment/Window ManagerNo response Minimal Ghostty Configurationcommand = /bin/zsh
notify-on-command-finish = unfocused
notify-on-command-finish-action = bell,notify
working-directory = inherit
click-repeat-interval = 500
shell-integration-features = cursor,sudo,title,ssh-env,ssh-terminfo,path
auto-update-channel = stableAdditional Relevant ConfigurationNo response I acknowledge that:
|
Replies: 3 comments 1 reply
|
Like suggested by running the plain
|
|
At the bottom of
However, I can confirm that the |
#13748 Fixed