-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
MacOS 10.14 No application knows how to open - panic #91
Comments
Digging around I found the config file ( Inside there I found it mentions $EDITOR: # If $EDITOR isn't set on your computer, you should either set it
# or just replace it with your editor of choice in the 'execution'
# pattern.
# Example:
# execution = "/usr/bin/nvim {file}"
[[verbs]]
invocation = "edit"
key = "F2"
shortcut = "e"
execution = "$EDITOR {file}" |
👋🏻 I installed from source and have version If I try to press I then tried the -> arrow and this had the same issue. If I do I then noticed in the file browser ui on macOS that the default app for most unknown files is XCode. I changed it (just out of interest) to the text.app program and now if I use -> or |
Yes, this is by design. It can be changed in configuration. See https://dystroy.org/broot/tricks/#change-standard-file-opening |
Thanks @Canop! Thinking about this more it makes perfect sense that what you described would be the default. If I press So yeah having Enter behave differently to |
Can we close the issue now ? |
Well, I guess it depends if you agree with my expected behavior. If you don't, then yes, it can be closed. Personally I don't think an application should just crash, even in case of misconfiguration (which is debatable, at this point you don't even know about the configuration files). |
Oh, I missed the crash. Sorry, too many open projects and not enough time... I clearly overlooked the issue. The crash must be solved, yes. |
Can somebody who reproduces this crash do it with |
You'll get a clearer error message by widening your terminal or by looking in the log. |
Thanks The error message is still too long if it is full screen. (but enough to recognise it). - it was not having sweet in finder a handler for this. For the log I have to restart and repeat the same actions? |
Yes |
Describe the bug
broot crashes on MacOS/zsh if $EDITOR is undefined and is used to open a file.
To Reproduce
Expected behavior
broot either opens the
build.gradle
file with $EDITOR, or if $EDITOR is undefined, asks the user to set it. broot doesn't crash/panic.Configuration (please complete the following information):
Additional information
Broot also messes up iTerm2 at the end, using the mouse wheel to scroll prints characters instead of scrolling. I have to
reset
to get the terminal back to normal.The text was updated successfully, but these errors were encountered: