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

Lookup xdg-open in PATH on non-Apple platforms #70

Merged
merged 1 commit into from
Dec 26, 2017
Merged

Lookup xdg-open in PATH on non-Apple platforms #70

merged 1 commit into from
Dec 26, 2017

Conversation

dmgk
Copy link
Contributor

@dmgk dmgk commented Dec 26, 2017

On FreeBSD (and other *BSD), xdg-open is installed in /usr/local/bin/, not /usr/bin/. Remove hardcoded path prefix and rely on PATH lookup by execlp() instead.

@jarun jarun merged commit 4dca8d7 into jarun:master Dec 26, 2017
@jarun
Copy link
Owner

jarun commented Dec 26, 2017

Saves a few bytes. Awesome!

@lock lock bot locked and limited conversation to collaborators May 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants