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

Fix opening from Finder in macOS #1832

Merged
merged 1 commit into from Apr 21, 2023

Conversation

AThePeanut4
Copy link
Contributor

@AThePeanut4 AThePeanut4 commented Apr 9, 2023

What kind of change does this PR introduce?

A fix for a bug introduced in #1758 where opening Neovide from Finder (i.e. directly running the .app) when using the fish shell as your $SHELL fails. Running neovide from a terminal works fine.

Previously (in 0.10.3), Neovide would always run $SHELL -lc "which nvim" on macOS to find the nvim binary. After #1758, it now runs $SHELL -c -l "which nvim" only if the TERM environment variable is not set. bash and sh do not care about the order of the -c and -l flags, but fish does (I haven't tested other shells). This fix simply reorders those flags, fixing the issue.

Did this PR introduce a breaking change?

No

@giang-nghg
Copy link

Omg thank you I've been going crazy trying to figure this out

@Kethku
Copy link
Member

Kethku commented Apr 21, 2023

Awesome! Thank you so much for the fix <3

@Kethku Kethku merged commit d596a04 into neovide:main Apr 21, 2023
2 checks passed
@AThePeanut4 AThePeanut4 deleted the fix-macos-bundle-open branch April 21, 2023 12:05
falcucci pushed a commit to falcucci/neovide that referenced this pull request May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants