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
Kitty can't open scripts with no extension in MacOS #5160
Comments
You didnt post the full debug output so I dont know what version of echo "echo hello world\nread" > test.sh opens a kitty window showing hello world as expected. |
Sorry, I should have specified "if the script has no extension". |
yes, there is no way to create a file association for filenames without |
But I can associate iTerm2 with such files, or is that a special case? |
In kitty, open associations work by file extension/mime type. See https://sw.kovidgoyal.net/kitty/open_actions/#scripting-the-opening-of-files-with-kitty-on-macos there is no mime-type/extension for filenames without extensions so you |
Could the |
the mime matcher supports wildcards, so use |
Describe the bug
If you try to open an executable/script with no extension with Kitty via the "Open With" menu, it will fail with
Unknown URL type, cannot open:
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Environment details
Additional context
Try to reproduce the problem with
kitty --config NONE
if you cannot then post a minimal kitty.conf that reproduces the problem. If the problem involves interaction with some other terminal program post a minimal config for that program to reproduce the problem as well.The text was updated successfully, but these errors were encountered: